Skip to content

comment out policies #4

comment out policies

comment out policies #4

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'docs/*'
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'docs/*'
jobs:
acceptance:
name: Acceptance Testing
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup nix caching
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run linters
uses: golangci/[email protected]
with:
version: latest
- name: Generate user documentation
run: nix develop . --command just generate
- name: Confirm no stale user documentation
run: |
git diff --compact-summary --exit-code || \
(echo "*** Unexpected differences after code generation. Run 'just generate' and commit."; exit 1)
- name: Create container
run: nix develop . --command just container
- name: Run test suite
run: nix develop . --command just acceptance-test