File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Nix
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["*"]
8+
9+ permissions : read-all
10+
11+ jobs :
12+ check :
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, macos-14]
17+ runs-on : ${{ matrix.os }}
18+
19+ name : flake check
20+ steps :
21+ - uses : actions/checkout@v4.1.7
22+ with :
23+ fetch-depth : 0
24+ - uses : DeterminateSystems/nix-installer-action@v13
25+ - uses : DeterminateSystems/magic-nix-cache-action@v7
26+ - run : nix flake check -L --show-trace
27+ fmt :
28+ runs-on : ubuntu-latest
29+
30+ name : nix fmt
31+ steps :
32+ - uses : actions/checkout@v4.1.7
33+ with :
34+ fetch-depth : 0
35+ - uses : DeterminateSystems/nix-installer-action@v13
36+ - uses : DeterminateSystems/magic-nix-cache-action@v7
37+ - run : nix run nixpkgs#nixfmt-rfc-style -- --check flake.nix
You can’t perform that action at this time.
0 commit comments