Skip to content

Commit 162e218

Browse files
authored
Merge pull request #68 from DeterminateSystems/determinate-nix-action
Switch to determinate-nix-action
2 parents 6baf647 + aa2404a commit 162e218

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
timeout-minutes: 60
2626
steps:
2727
- uses: actions/checkout@v4
28-
- uses: DeterminateSystems/nix-installer-action@main
29-
with:
30-
determinate: true
28+
- uses: DeterminateSystems/determinate-nix-action@main
3129
- uses: DeterminateSystems/flakehub-cache-action@main
3230
- run: nix build .#packages.${{ inputs.system }}.default .#packages.${{ inputs.system }}.binaryTarball --no-link -L
3331
- run: nix build .#packages.${{ inputs.system }}.binaryTarball --out-link tarball
@@ -44,8 +42,6 @@ jobs:
4442
timeout-minutes: 60
4543
steps:
4644
- uses: actions/checkout@v4
47-
- uses: DeterminateSystems/nix-installer-action@main
48-
with:
49-
determinate: true
45+
- uses: DeterminateSystems/determinate-nix-action@main
5046
- uses: DeterminateSystems/flakehub-cache-action@main
5147
- run: nix flake check -L --system ${{ inputs.system }}

.github/workflows/ci.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- uses: DeterminateSystems/nix-installer-action@main
24-
with:
25-
determinate: true
23+
- uses: DeterminateSystems/determinate-nix-action@main
2624
- run: nix flake show --all-systems --json
2725

2826
build_x86_64-linux:
@@ -57,9 +55,7 @@ jobs:
5755
runs-on: blacksmith-32vcpu-ubuntu-2204
5856
steps:
5957
- uses: actions/checkout@v4
60-
- uses: DeterminateSystems/nix-installer-action@main
61-
with:
62-
determinate: true
58+
- uses: DeterminateSystems/determinate-nix-action@main
6359
- uses: DeterminateSystems/flakehub-cache-action@main
6460
- run: |
6561
nix build -L \
@@ -75,9 +71,7 @@ jobs:
7571
runs-on: blacksmith-32vcpu-ubuntu-2204
7672
steps:
7773
- uses: actions/checkout@v4
78-
- uses: DeterminateSystems/nix-installer-action@main
79-
with:
80-
determinate: true
74+
- uses: DeterminateSystems/determinate-nix-action@main
8175
- uses: DeterminateSystems/flakehub-cache-action@main
8276
- run: |
8377
nix build -L --keep-going \
@@ -113,9 +107,7 @@ jobs:
113107
with:
114108
repository: DeterminateSystems/flake-regressions-data
115109
path: flake-regressions/tests
116-
- uses: DeterminateSystems/nix-installer-action@main
117-
with:
118-
determinate: true
110+
- uses: DeterminateSystems/determinate-nix-action@main
119111
- uses: DeterminateSystems/flakehub-cache-action@main
120112
- run: nix build -L --out-link ./new-nix && PATH=$(pwd)/new-nix/bin:$PATH PARALLEL="-P 50%" flake-regressions/eval-all.sh
121113

@@ -144,9 +136,7 @@ jobs:
144136
with:
145137
repository: DeterminateSystems/flake-regressions-data
146138
path: flake-regressions/tests
147-
- uses: DeterminateSystems/nix-installer-action@main
148-
with:
149-
determinate: true
139+
- uses: DeterminateSystems/determinate-nix-action@main
150140
- uses: DeterminateSystems/flakehub-cache-action@main
151141
- run: nix build -L --out-link ./new-nix && PATH=$(pwd)/new-nix/bin:$PATH PARALLEL="-P 50%" NIX_CONFIG="lazy-trees = true" flake-regressions/eval-all.sh
152142

@@ -163,9 +153,7 @@ jobs:
163153
steps:
164154
- name: Checkout nix
165155
uses: actions/checkout@v4
166-
- uses: DeterminateSystems/nix-installer-action@main
167-
with:
168-
determinate: true
156+
- uses: DeterminateSystems/determinate-nix-action@main
169157
- uses: DeterminateSystems/flakehub-cache-action@main
170158
- name: Build manual
171159
run: nix build .#hydraJobs.manual

.github/workflows/upload-release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ jobs:
6363
steps:
6464
- name: Checkout
6565
uses: actions/checkout@v4
66-
- uses: "DeterminateSystems/nix-installer-action@main"
67-
with:
68-
determinate: true
66+
- uses: DeterminateSystems/determinate-nix-action@main
6967

7068
- name: Create artifacts directory
7169
run: mkdir -p ./artifacts
@@ -107,8 +105,8 @@ jobs:
107105
id-token: write
108106
steps:
109107
- uses: actions/checkout@v4
110-
- uses: DeterminateSystems/nix-installer-action@main
111-
- uses: "DeterminateSystems/flakehub-push@main"
108+
- uses: DeterminateSystems/determinate-nix-action@main
109+
- uses: DeterminateSystems/flakehub-push@main
112110
with:
113111
rolling: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
114112
visibility: "public"

0 commit comments

Comments
 (0)