Skip to content

Add github action for validating proper oscal assembly #97

Add github action for validating proper oscal assembly

Add github action for validating proper oscal assembly #97

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