Skip to content

Point trestle-cmd action to the correct directory #98

Point trestle-cmd action to the correct directory

Point trestle-cmd action to the correct directory #98

Workflow file for this run

---
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