Skip to content

chore: upgrades go to 1.21 ad xcaddy to 0.3.5. #305

chore: upgrades go to 1.21 ad xcaddy to 0.3.5.

chore: upgrades go to 1.21 ad xcaddy to 0.3.5. #305

Workflow file for this run

name: Tests
on:
push:
branches:
- "main"
paths-ignore:
- "**/*.md"
- "LICENSE"
pull_request:
paths-ignore:
- "**/*.md"
- "LICENSE"
jobs:
test:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
xcaddy-version: [v0.3.5]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
fetch-depth: 0 #for better blame info
- name: Tests and coverage
run: go run mage.go coverage
- name: Install xcaddy
run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@${{ matrix.xcaddy-version }}
- name: Build caddy
run: go run mage.go buildCaddyLinux
- name: Run e2e tests
run: go run mage.go e2e
- name: Run regression tests (ftw)
run: go run mage.go ftw
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: ftw-envoy-logs
path: build/ftw-envoy.log