1
0
Fork 0

ci: Use DeterminateSystems nix installer

This commit is contained in:
Daniel Kempkens 2023-06-27 09:45:55 +02:00
parent e7e004718b
commit 25c3078387
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -11,9 +11,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20 - name: Install Nix
with: uses: DeterminateSystems/nix-installer-action@v4
nix_path: nixpkgs=channel:nixpkgs-unstable - name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v1
- uses: cachix/cachix-action@v12 - uses: cachix/cachix-action@v12
with: with:
name: nifoc name: nifoc
@ -26,9 +27,8 @@ jobs:
runs-on: buildjet-2vcpu-ubuntu-2204-arm runs-on: buildjet-2vcpu-ubuntu-2204-arm
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20 - name: Install Nix
with: uses: DeterminateSystems/nix-installer-action@v4
nix_path: nixpkgs=channel:nixpkgs-unstable
- uses: cachix/cachix-action@v12 - uses: cachix/cachix-action@v12
with: with:
name: nifoc name: nifoc