File tree 2 files changed +8
-4
lines changed 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
16
- - uses : cachix/install-nix-action@v16
16
+ - uses : cachix/install-nix-action@v17
17
17
with :
18
18
nix_path : nixpkgs=channel:nixos-21.11
19
19
extra_nix_config : |
20
- trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
21
- substituters = https://hydra.iohk.io https://cache.nixos.org/
20
+ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hackage-server.cachix.org-1:iw0iRh6+gsFIrxROFaAt5gKNgIHejKjIfyRdbpPYevY=
21
+ substituters = https://hydra.iohk.io https://cache.nixos.org/ https://hackage-server.cachix.org/
22
22
- uses : cachix/cachix-action@v10
23
23
with :
24
24
# https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions
25
25
name : hackage-server
26
26
authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
27
- - run : nix-shell --pure --run "cabal update && cabal build all --enable-tests"
27
+ - run : nix-shell --pure --run ./.github/workflows/test-nix-shell.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ cabal update hackage.haskell.org,2022-08-27T00:00:00Z
4
+ cabal build all --enable-tests
You can’t perform that action at this time.
0 commit comments