@@ -12,19 +12,12 @@ jobs:
1212 fail-fast : false
1313
1414 steps :
15- # - name: Install libraries
16- # run: |
17- # sudo apt update
18- # sudo apt install -y libzmq5-dev libpcre3-dev
19-
2015 - uses : actions/checkout@v6
2116
22- # - uses: haskell/actions/setup@v1
23- # name: Setup Haskell Stack
24- # with:
25- # ghc-version: ${{ matrix.ghc }}
26- # stack-version: "latest"
27- # enable-stack: true
17+ - uses : cachix/install-nix-action@v31
18+ with :
19+ nix_path : nixpkgs=channel:nixos-unstable
20+ - uses : DeterminateSystems/magic-nix-cache-action@main
2821
2922 - uses : actions/cache@v5
3023 name : Cache ~/.stack
@@ -47,38 +40,34 @@ jobs:
4740 nix run .#stack -- test --nix --test-arguments --print
4841
4942 no-gmp :
50- runs-on : [self-hosted, Linux, desktop]
43+ runs-on : ubuntu-latest
5144 strategy :
5245 fail-fast : false
5346 steps :
54- - uses : actions/checkout@v4
47+ - uses : actions/checkout@v6
5548
56- # - uses: cachix/install-nix-action@v22
57- # with:
58- # nix_path: nixpkgs=channel:nixos-unstable
59- # extra_nix_config: |
60- # trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
61- # substituters = https://hydra.iohk.io https://cache.nixos.org/
49+ - uses : cachix/install-nix-action@v31
50+ with :
51+ nix_path : nixpkgs=channel:nixos-unstable
52+ - uses : DeterminateSystems/magic-nix-cache-action@main
6253
6354 - name : No GMP
6455 run : |
6556 nix run .#verify-no-gmp
6657
6758 nix :
6859 name : Nix
69- runs-on : [self-hosted, Linux, desktop]
60+ runs-on : ubuntu-latest
7061 strategy :
7162 fail-fast : false
7263
7364 steps :
74- - uses : actions/checkout@v4
65+ - uses : actions/checkout@v6
7566
76- # - uses: cachix/install-nix-action@v22
77- # with:
78- # nix_path: nixpkgs=channel:nixos-unstable
79- # extra_nix_config: |
80- # trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
81- # substituters = https://hydra.iohk.io https://cache.nixos.org/
67+ - uses : cachix/install-nix-action@v31
68+ with :
69+ nix_path : nixpkgs=channel:nixos-unstable
70+ - uses : DeterminateSystems/magic-nix-cache-action@main
8271
8372 - name : Build
8473 run : |
0 commit comments