Merge pull request #154 from DeterminateSystems/graham/fh-440-fh-appl… #601
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: Nix checks | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
flake-check: | |
runs-on: UbuntuLatest32Cores128G | |
permissions: | |
id-token: "write" | |
contents: "read" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/flake-checker-action@main | |
with: | |
fail-mode: true | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: "Nix formatting" | |
run: git ls-files '*.nix' | nix develop --command xargs nixpkgs-fmt --check | |
- name: "Nix Flake Check" | |
run: nix flake check --print-build-logs --all-systems |