ci: Use DeterminateSystems installer and cache
This commit is contained in:
parent
f5e9530ad8
commit
a0c70e2dad
2 changed files with 12 additions and 9 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
7
.github/workflows/update-flake.yml
vendored
7
.github/workflows/update-flake.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue