Update caddy binary for main #109
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, pull_request] | |
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 |