Major update (check changelog.md) #15
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: Check | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '**.nix' | |
- 'flake.lock' | |
- 'flake.nix' | |
- 'nix/**' | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
name: checkout repository | |
- uses: DeterminateSystems/nix-installer-action@main | |
name: install nix | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
name: use nix cache | |
- uses: DeterminateSystems/flake-checker-action@v4 | |
name: check flake lock | |
- run: nix flake check | |
name: run compilation checks |