aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-06-26 15:28:49 -0700
committerJohn MacFarlane <[email protected]>2023-06-26 15:30:38 -0700
commit295c6b04852391a23372ccb9153c1ec115c2c303 (patch)
tree4c3eb7e93e9092380bc42b17e7ce3a6aadda78e5 /.github
parenteb1050428d73ca2baf465e2bc6e7047694460a17 (diff)
Try adding magic nix cache to nix CI build.
See https://determinate.systems/posts/magic-nix-cache
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 447b0f878..a9d57ece3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -144,9 +144,10 @@ jobs:
fail-fast: true
steps:
- uses: actions/checkout@v3
- - uses: cachix/install-nix-action@v22
- with:
- nix_path: nixpkgs=channel:nixos-unstable
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@v4
+ - name: Run the Magic Nix Cache
+ uses: DeterminateSystems/magic-nix-cache-action@v1
- run: |
nix-shell --run "cabal update && cabal test --disable-optimization"