1
0
Fork 0

ci: Use DeterminateSystems installer and cache

This commit is contained in:
Daniel Kempkens 2023-06-27 09:37:39 +02:00
parent f5e9530ad8
commit a0c70e2dad
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 12 additions and 9 deletions

View file

@ -12,9 +12,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
@ -33,9 +34,10 @@ 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 - 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

View file

@ -10,9 +10,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@v17 - 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
- run: nix flake update - run: nix flake update
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
with: with: