Skip to content

chore: fixes short write error. #205

chore: fixes short write error.

chore: fixes short write error. #205

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.20.x]
os: [ubuntu-latest]
xcaddy-version: [v0.3.2]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
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