File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : CI
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+ workflow_dispatch :
9+
10+ concurrency :
11+ group : ci-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ ci :
16+ name : nix flake check (${{ matrix.platform.runner }})
17+ runs-on : ${{ matrix.platform.runner }}
18+ timeout-minutes : 60
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ platform :
23+ - runner : ubuntu-latest
24+ system : x86_64-linux
25+ - runner : macos-latest
26+ system : aarch64-darwin
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30+
31+ - uses : cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
32+ with :
33+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
34+ extra_nix_config : |
35+ extra-experimental-features = nix-command flakes
36+ accept-flake-config = true
37+
38+ - name : nix flake check
39+ run : nix flake check --print-build-logs
Original file line number Diff line number Diff line change 2121 } ;
2222 } ;
2323
24- nixConfig = {
25- extra-substituters = [ "https://cache.garnix.io" ] ;
26- extra-trusted-substituters = [ "https://cache.garnix.io" ] ;
27- extra-trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ] ;
28- } ;
29-
3024 outputs = inputs @ {
3125 self ,
3226 nixpkgs ,
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments