Skip to content

Commit 2a2fe68

Browse files
authored
Merge pull request #184 from DeterminateSystems/graham/fh-813-create-a-determinate-nix-action-with-pinned-releases
Update to use our new nix action
2 parents 11e4dfb + e9a7860 commit 2a2fe68

File tree

4 files changed

+20
-36
lines changed

4 files changed

+20
-36
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77

88
jobs:
99
typescript-action:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: read
1114
steps:
1215
- uses: actions/checkout@v4
1316
with:
@@ -17,9 +20,7 @@ jobs:
1720
with:
1821
fail-mode: true
1922
- name: Install Determinate Nix
20-
uses: DeterminateSystems/nix-installer-action@main
21-
with:
22-
determinate: true
23+
uses: DeterminateSystems/determinate-nix-action@v3
2324
- name: Enable FlakeHub Cache
2425
uses: DeterminateSystems/flakehub-cache-action@main
2526
- name: Install pnpm dependencies

.github/workflows/update.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ on:
77

88
jobs:
99
lockfile:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: read
1114
steps:
1215
- name: Checkout
1316
uses: actions/checkout@v4
1417
- name: Install Determinate Nix
15-
uses: DeterminateSystems/nix-installer-action@main
16-
with:
17-
determinate: true
18+
uses: DeterminateSystems/determinate-nix-action@v3
1819
- name: Enable FlakeHub Cache
1920
uses: DeterminateSystems/flakehub-cache-action@main
2021
- name: Update flake.lock

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
validate:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:

README.md

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
2727
- name: Install Determinate Nix
28-
uses: DeterminateSystems/nix-installer-action@main
29-
with:
30-
determinate: true
28+
uses: DeterminateSystems/determinate-nix-action@v3
3129
- name: Update flake.lock
3230
uses: DeterminateSystems/update-flake-lock@main
3331
with:
@@ -59,9 +57,7 @@ jobs:
5957
- name: Checkout repository
6058
uses: actions/checkout@v4
6159
- name: Install Determinate Nix
62-
uses: DeterminateSystems/nix-installer-action@main
63-
with:
64-
determinate: true
60+
uses: DeterminateSystems/determinate-nix-action@v3
6561
- name: Update flake.lock
6662
uses: DeterminateSystems/update-flake-lock@main
6763
with:
@@ -86,9 +82,7 @@ jobs:
8682
- name: Checkout repository
8783
uses: actions/checkout@v4
8884
- name: Install Determinate Nix
89-
uses: DeterminateSystems/nix-installer-action@main
90-
with:
91-
determinate: true
85+
uses: DeterminateSystems/determinate-nix-action@v3
9286
- name: Update flake.lock
9387
uses: DeterminateSystems/update-flake-lock@main
9488
with:
@@ -111,9 +105,7 @@ jobs:
111105
- name: Checkout repository
112106
uses: actions/checkout@v4
113107
- name: Install Determinate Nix
114-
uses: DeterminateSystems/nix-installer-action@main
115-
with:
116-
determinate: true
108+
uses: DeterminateSystems/determinate-nix-action@v3
117109
- name: Update flake.lock
118110
id: update
119111
uses: DeterminateSystems/update-flake-lock@main
@@ -142,9 +134,7 @@ jobs:
142134
- name: Checkout repository
143135
uses: actions/checkout@v4
144136
- name: Install Determinate Nix
145-
uses: DeterminateSystems/nix-installer-action@main
146-
with:
147-
determinate: true
137+
uses: DeterminateSystems/determinate-nix-action@v3
148138
- name: Update flake.lock
149139
if: ${{ github.event_name != 'pull_request' }}
150140
uses: DeterminateSystems/update-flake-lock@main
@@ -171,9 +161,7 @@ jobs:
171161
- name: Checkout repository
172162
uses: actions/checkout@v4
173163
- name: Install Determinate Nix
174-
uses: DeterminateSystems/nix-installer-action@main
175-
with:
176-
determinate: true
164+
uses: DeterminateSystems/determinate-nix-action@v3
177165
- name: Update flake.lock
178166
uses: DeterminateSystems/update-flake-lock@main
179167
with:
@@ -211,9 +199,7 @@ jobs:
211199
- name: Checkout repository
212200
uses: actions/checkout@v4
213201
- name: Install Determinate Nix
214-
uses: DeterminateSystems/nix-installer-action@main
215-
with:
216-
determinate: true
202+
uses: DeterminateSystems/determinate-nix-action@v3
217203
- name: Update flake.lock
218204
uses: DeterminateSystems/update-flake-lock@main
219205
with:
@@ -252,9 +238,7 @@ jobs:
252238
- name: Checkout repository
253239
uses: actions/checkout@v4
254240
- name: Install Determinate Nix
255-
uses: DeterminateSystems/nix-installer-action@main
256-
with:
257-
determinate: true
241+
uses: DeterminateSystems/determinate-nix-action@v3
258242
- name: Update flake.lock
259243
uses: DeterminateSystems/update-flake-lock@main
260244
with:
@@ -319,9 +303,7 @@ jobs:
319303
- name: Checkout repository
320304
uses: actions/checkout@v4
321305
- name: Install Determinate Nix
322-
uses: DeterminateSystems/nix-installer-action@main
323-
with:
324-
determinate: true
306+
uses: DeterminateSystems/determinate-nix-action@v3
325307
- name: Update flake.lock
326308
uses: DeterminateSystems/update-flake-lock@main
327309
with:

0 commit comments

Comments
 (0)