Update caddy to the 2.8 releases #87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
on: | |
push: | |
jobs: | |
test: | |
name: Test that caddy builds + Validate Caddyfile | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: build caddy - setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: build caddy - get xcaddy | |
run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest | |
- name: build caddy - xcaddy build | |
run: > | |
xcaddy build | |
--with github.com/caddyserver/forwardproxy@caddy2 | |
--output proxy/caddy | |
- name: validate Caddyfile | |
run: make validate |