Fix CI warning #373
Workflow file for this run
This file contains hidden or 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: Check the Agda files | |
| on: | |
| push: | |
| branches: [ "main", "develop" ] | |
| pull_request: | |
| branches: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix with cached packages | |
| uses: rikhuijzer/cache-install@v.1.1.3 | |
| with: | |
| key: nix-${{ hashFiles('.github/workflows/check.yml', 'default.nix', 'nix/**') }} | |
| nix_file: nix/github-workflow-dependencies.nix | |
| - name: Setup the environment | |
| # Supress a warning about missing channels by using the shell from the environment | |
| run: echo NIX_BUILD_SHELL="$(which bash)" >> "$GITHUB_ENV" | |
| - name: Check Agda files | |
| run: nix-shell --run './scripts/check-all.sh github-action' | |
| - name: Check for sources of inconsistencies | |
| run: nix-shell --run './scripts/find-inconsistency-sources.sh --ci' |