comment out policies #4
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: 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 |