Skip to content

Commit 30d82ca

Browse files
authored
Merge pull request #176 from DeterminateSystems/determinate-nix-action
Switch to determinate-nix-action
2 parents 5ac4a1b + 10acff9 commit 30d82ca

File tree

5 files changed

+12
-36
lines changed

5 files changed

+12
-36
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ jobs:
3131
- name: git checkout
3232
uses: actions/checkout@v4
3333

34-
- name: Install Nix
35-
uses: DeterminateSystems/nix-installer-action@main
36-
with:
37-
determinate: true
34+
- name: Install Determinate Nix
35+
uses: DeterminateSystems/determinate-nix-action@main
3836

39-
- name: Set up Nix cache
37+
- name: Set up FlakeHub Cache
4038
uses: DeterminateSystems/flakehub-cache-action@main
4139

4240
- name: Build and cache dev shell for ${{ matrix.systems.nix-system }} on ${{ matrix.systems.runner }}

.github/workflows/ci.yaml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Install Nix
15-
uses: DeterminateSystems/nix-installer-action@main
16-
with:
17-
determinate: true
14+
- uses: DeterminateSystems/determinate-nix-action@main
1815
- uses: DeterminateSystems/flakehub-cache-action@main
1916
- name: Check flake.lock
2017
uses: DeterminateSystems/flake-checker-action@main
@@ -32,10 +29,7 @@ jobs:
3229
runs-on: ubuntu-22.04
3330
steps:
3431
- uses: actions/checkout@v4
35-
- name: Install Nix
36-
uses: DeterminateSystems/nix-installer-action@main
37-
with:
38-
determinate: true
32+
- uses: DeterminateSystems/determinate-nix-action@main
3933
- uses: DeterminateSystems/flakehub-cache-action@main
4034
- name: cargo test
4135
run: nix develop -c cargo test
@@ -45,10 +39,7 @@ jobs:
4539
runs-on: ubuntu-22.04
4640
steps:
4741
- uses: actions/checkout@v4
48-
- name: Install Nix
49-
uses: DeterminateSystems/nix-installer-action@main
50-
with:
51-
determinate: true
42+
- uses: DeterminateSystems/determinate-nix-action@main
5243
- uses: DeterminateSystems/flakehub-cache-action@main
5344
- name: Check flake.lock
5445
run: |
@@ -62,10 +53,7 @@ jobs:
6253
runs-on: ubuntu-22.04
6354
steps:
6455
- uses: actions/checkout@v4
65-
- name: Install Nix
66-
uses: DeterminateSystems/nix-installer-action@main
67-
with:
68-
determinate: true
56+
- uses: DeterminateSystems/determinate-nix-action@main
6957
- uses: DeterminateSystems/flakehub-cache-action@main
7058
- name: Check flake.lock
7159
run: |
@@ -76,10 +64,7 @@ jobs:
7664
runs-on: ubuntu-22.04
7765
steps:
7866
- uses: actions/checkout@v4
79-
- name: Install Nix
80-
uses: DeterminateSystems/nix-installer-action@main
81-
with:
82-
determinate: true
67+
- uses: DeterminateSystems/determinate-nix-action@main
8368
- uses: DeterminateSystems/flakehub-cache-action@main
8469
- name: Check flake.lock
8570
run: |
@@ -91,8 +76,7 @@ jobs:
9176
if: false
9277
steps:
9378
- uses: actions/checkout@v4
94-
- name: Install Nix
95-
uses: DeterminateSystems/nix-installer-action@main
79+
- uses: DeterminateSystems/determinate-nix-action@main
9680
- uses: DeterminateSystems/flakehub-cache-action@main
9781
- name: Check flake.lock
9882
run: |

.github/workflows/flakehub-publish-tagged.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
- uses: "actions/checkout@v4"
2222
with:
2323
ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}"
24-
- uses: "DeterminateSystems/nix-installer-action@main"
25-
with:
26-
determinate: true
24+
- uses: "DeterminateSystems/determinate-nix-action@main"
2725
- uses: "DeterminateSystems/flakehub-push@main"
2826
with:
2927
visibility: "public"

.github/workflows/ref-statuses.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212

13-
- uses: DeterminateSystems/nix-installer-action@main
14-
with:
15-
determinate: true
13+
- uses: DeterminateSystems/determinate-nix-action@main
1614

1715
- uses: DeterminateSystems/flakehub-cache-action@main
1816

.github/workflows/update-flake-lock.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: DeterminateSystems/nix-installer-action@main
14-
with:
15-
determinate: true
13+
- uses: DeterminateSystems/determinate-nix-action@main
1614
- uses: DeterminateSystems/flakehub-cache-action@main
1715
- uses: DeterminateSystems/update-flake-lock@main
1816
with:

0 commit comments

Comments
 (0)