File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 77 branches :
88 - master
99jobs :
10- nix :
10+ nix-develop-shell :
1111 strategy :
1212 fail-fast : false
1313 matrix :
3636 - name : " Check `nix develop` shell can run command"
3737 run : nix develop --command "echo"
3838
39+ nix-build :
40+ strategy :
41+ fail-fast : false
42+ matrix :
43+ os :
44+ - ubuntu-latest
45+ - ubuntu-24.04-arm
46+ - macos-latest
47+ name : Nix on ${{ matrix.os }}
48+ runs-on : ${{ matrix.os }}
49+ steps :
50+ - uses : actions/checkout@v4
51+ - uses : cachix/install-nix-action@v31
52+ with :
53+ extra_nix_config : |
54+ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hackage-server.cachix.org-1:iw0iRh6+gsFIrxROFaAt5gKNgIHejKjIfyRdbpPYevY=
55+ substituters = https://cache.nixos.org/ https://hackage-server.cachix.org/
56+ - uses : cachix/cachix-action@v16
57+ with :
58+ # https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions
59+ name : hackage-server
60+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
61+
3962 - run : nix build
4063
4164 - continue-on-error : false
You can’t perform that action at this time.
0 commit comments