Install Nix prior to test
This commit is contained in:
parent
1407ae42a2
commit
6f4ce1d570
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
path: magic-nix-cache.closure.xz
|
path: magic-nix-cache.closure.xz
|
||||||
key: magic-nix-cache-${{ github.sha }}
|
key: magic-nix-cache-${{ github.sha }}
|
||||||
|
|
||||||
test-linux:
|
test-magic-nix-cache-action:
|
||||||
needs: build-linux
|
needs: build-linux
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -42,6 +42,9 @@ jobs:
|
||||||
key: magic-nix-cache-${{ github.sha }}
|
key: magic-nix-cache-${{ github.sha }}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
|
- name: Install Nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
with:
|
with:
|
||||||
source-binary: "magic-nix-cache.closure.xz"
|
source-binary: "magic-nix-cache.closure.xz"
|
||||||
|
|
Loading…
Reference in a new issue