Skip to content

Commit 4b0734d

Browse files
authored
Switch to determinate-nix-action (#185)
1 parent 43a0d51 commit 4b0734d

File tree

3 files changed

+8
-22
lines changed

3 files changed

+8
-22
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: DeterminateSystems/nix-installer-action@main
13-
with:
14-
determinate: true
12+
- uses: DeterminateSystems/determinate-nix-action@main
1513
- uses: DeterminateSystems/flakehub-cache-action@main
1614
- name: Check rustfmt
1715
run: nix develop --command cargo fmt -- --check
@@ -20,9 +18,7 @@ jobs:
2018
runs-on: ubuntu-latest
2119
steps:
2220
- uses: actions/checkout@v4
23-
- uses: DeterminateSystems/nix-installer-action@main
24-
with:
25-
determinate: true
21+
- uses: DeterminateSystems/determinate-nix-action@main
2622
- uses: DeterminateSystems/flakehub-cache-action@main
2723
- name: Build
2824
run: nix build -L
@@ -41,9 +37,7 @@ jobs:
4137
- uses: actions/checkout@v4
4238
with:
4339
fetch-depth: 0
44-
- uses: DeterminateSystems/nix-installer-action@main
45-
with:
46-
determinate: true
40+
- uses: DeterminateSystems/determinate-nix-action@main
4741
- uses: DeterminateSystems/flakehub-cache-action@main
4842
- name: Check nixpkgs-fmt formatting
4943
run: nix develop --command sh -c "git ls-files '*.nix' | xargs nixpkgs-fmt --check"
@@ -62,9 +56,7 @@ jobs:
6256
- uses: actions/checkout@v4
6357
with:
6458
fetch-depth: 0
65-
- uses: DeterminateSystems/nix-installer-action@main
66-
with:
67-
determinate: true
59+
- uses: DeterminateSystems/determinate-nix-action@main
6860
- uses: DeterminateSystems/flakehub-cache-action@main
6961
- name: Validate JSON Schema
7062
run: nix develop --command jv ./schema.json
@@ -77,9 +69,7 @@ jobs:
7769
- uses: actions/checkout@v4
7870
with:
7971
fetch-depth: 0
80-
- uses: DeterminateSystems/nix-installer-action@main
81-
with:
82-
determinate: true
72+
- uses: DeterminateSystems/determinate-nix-action@main
8373
- uses: DeterminateSystems/flakehub-cache-action@main
8474
- name: Verify synthesize integration test still passes
8575
run: nix develop -c ./synthesize/integration-test-cases/verify.sh

.github/workflows/json-schema.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
- uses: DeterminateSystems/nix-installer-action@main
22-
with:
23-
determinate: true
21+
- uses: DeterminateSystems/determinate-nix-action@main
2422
- uses: DeterminateSystems/flakehub-cache-action@main
2523
- name: Set up GitHub Pages
2624
uses: actions/configure-pages@v5

.github/workflows/update.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ jobs:
1414
uses: DeterminateSystems/flake-checker-action
1515
with:
1616
fail-mode: true
17-
- name: Install Nix
18-
uses: DeterminateSystems/nix-installer-action@main
19-
with:
20-
determinate: true
17+
- name: Install Determinate Nix
18+
uses: DeterminateSystems/determinate-nix-action@main
2119
- name: Enable FlakeHub cache
2220
uses: DeterminateSystems/flakehub-cache-action@main
2321
- name: Update flake.lock

0 commit comments

Comments
 (0)