Skip to content

Merge pull request #1162 from cloudflare/smelly #2550

Merge pull request #1162 from cloudflare/smelly

Merge pull request #1162 from cloudflare/smelly #2550

Workflow file for this run

name: Validate examples
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: read-all
jobs:
examples:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.ver
cache: false
- name: Build binary
run: make
- name: Verify examples
run: |
export AUTH_KEY=12345
for CFG in docs/examples/* ; do
echo ">>> $CFG"
./pint -c "$CFG" config
done