File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
- # https://nix.dev/tutorials/continuous-integration-github-actions
2
1
name : " Test nix-shell"
3
2
on :
4
- push :
5
- branches :
6
- - ' **'
7
- paths-ignore : []
8
- pull_request :
9
- paths-ignore : []
10
-
3
+ - push
4
+ - pull_request
11
5
jobs :
12
6
nix-shell :
13
7
runs-on : ubuntu-latest
16
10
- uses : cachix/install-nix-action@v16
17
11
with :
18
12
nix_path : nixpkgs=channel:nixos-21.11
13
+ extra_nix_config : |
14
+ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
15
+ substituters = https://hydra.iohk.io https://cache.nixos.org/
16
+ - uses : cachix/cachix-action@v10
17
+ with :
18
+ # https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions
19
+ name : hackage-server
20
+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
19
21
- run : nix-shell --pure --run "cabal update && cabal build all --enable-tests"
You can’t perform that action at this time.
0 commit comments