Skip to content

Commit 51f761e

Browse files
committed
Use Node version from package.json
1 parent 9182ab5 commit 51f761e

8 files changed

Lines changed: 35 additions & 35 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Harden the runner (Audit all outbound calls)
42-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
42+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
4343
with:
4444
egress-policy: audit
4545

@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
with:
60-
node-version: '20'
60+
node-version-file: package.json
6161
registry-url: https://npm.pkg.github.com
6262
package-manager-cache: false
6363

@@ -174,42 +174,42 @@ jobs:
174174
run: npm run package -- --target darwin-arm64
175175

176176
- name: Upload win32-x64 VSIX package
177-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
177+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
178178
with:
179179
name: vscode-cmsis-solution-win32-x64
180180
path: ./*win32-x64*.vsix
181181
retention-days: 1
182182

183183
- name: Upload win32-arm64 VSIX package
184-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
184+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
185185
with:
186186
name: vscode-cmsis-solution-win32-arm64
187187
path: ./*win32-arm64*.vsix
188188
retention-days: 1
189189

190190
- name: Upload linux-x64 VSIX package
191-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
191+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
192192
with:
193193
name: vscode-cmsis-solution-linux-x64
194194
path: ./*linux-x64*.vsix
195195
retention-days: 1
196196

197197
- name: Upload linux-arm64 VSIX package
198-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
198+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
199199
with:
200200
name: vscode-cmsis-solution-linux-arm64
201201
path: ./*linux-arm64*.vsix
202202
retention-days: 1
203203

204204
- name: Upload darwin-x64 VSIX package
205-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
205+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
206206
with:
207207
name: vscode-cmsis-solution-darwin-x64
208208
path: ./*darwin-x64*.vsix
209209
retention-days: 1
210210

211211
- name: Upload darwin-arm64 VSIX package
212-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
212+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
213213
with:
214214
name: vscode-cmsis-solution-darwin-arm64
215215
path: ./*darwin-arm64*.vsix
@@ -219,7 +219,7 @@ jobs:
219219
run: git diff > new-version.patch
220220

221221
- name: Store version bump patch
222-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
222+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
223223
with:
224224
name: new-version-patch
225225
path: ./new-version.patch
@@ -249,7 +249,7 @@ jobs:
249249

250250
steps:
251251
- name: Harden the runner (Audit all outbound calls)
252-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
252+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
253253
with:
254254
egress-policy: audit
255255

@@ -264,7 +264,7 @@ jobs:
264264
env:
265265
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
266266
with:
267-
node-version: '20'
267+
node-version-file: package.json
268268
registry-url: https://npm.pkg.github.com
269269
package-manager-cache: false
270270

@@ -277,15 +277,15 @@ jobs:
277277
- name: Run Test
278278
run: npm run test
279279

280-
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
280+
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
281281
if: ${{ matrix.target == 'linux-x64' }}
282282
with:
283283
name: unit-test-coverage
284284
path: ./coverage
285285

286286
- name: Publish coverage report to QLTY
287287
if: github.repository_owner == 'Open-CMSIS-Pack' && matrix.target == 'linux-x64'
288-
uses: qltysh/qlty-action/coverage@a19242102d17e497f437d7466aa01b528537e899 # v1
288+
uses: qltysh/qlty-action/coverage@a19242102d17e497f437d7466aa01b528537e899 # v2.2.0
289289
with:
290290
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
291291
files: coverage/lcov.info
@@ -299,7 +299,7 @@ jobs:
299299
contents: write
300300
steps:
301301
- name: Harden the runner (Audit all outbound calls)
302-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
302+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
303303
with:
304304
egress-policy: audit
305305

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Harden the runner (Audit all outbound calls)
36-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
36+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3737
with:
3838
egress-policy: audit
3939

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Harden Runner
25-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
25+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
2626
with:
2727
egress-policy: audit
2828

.github/workflows/devcontainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Harden the runner (Audit all outbound calls)
30-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
30+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3131
with:
3232
egress-policy: audit
3333

.github/workflows/markdown.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
actions: read
2828
steps:
2929
- name: Harden Runner
30-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
30+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3131
with:
3232
egress-policy: audit
3333

@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
with:
51-
node-version: '20'
51+
node-version-file: package.json
5252
registry-url: https://npm.pkg.github.com
5353
package-manager-cache: false
5454

@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Harden the runner (Audit all outbound calls)
73-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
73+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
7474
with:
7575
egress-policy: audit
7676

.github/workflows/nightly.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Harden the runner (Audit all outbound calls)
35-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
35+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3636
with:
3737
egress-policy: audit
3838

@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
with:
50-
node-version: '20'
50+
node-version-file: package.json
5151
registry-url: https://npm.pkg.github.com
5252
package-manager-cache: false
5353

@@ -161,42 +161,42 @@ jobs:
161161
run: npm run package -- --target darwin-arm64
162162

163163
- name: Upload win32-x64 VSIX package
164-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
164+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
165165
with:
166166
name: vscode-cmsis-solution-nightly-win32-x64
167167
path: ./*win32-x64*.vsix
168168
retention-days: 1
169169

170170
- name: Upload win32-arm64 VSIX package
171-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
171+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
172172
with:
173173
name: vscode-cmsis-solution-nightly-win32-arm64
174174
path: ./*win32-arm64*.vsix
175175
retention-days: 1
176176

177177
- name: Upload linux-x64 VSIX package
178-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
178+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
179179
with:
180180
name: vscode-cmsis-solution-nightly-linux-x64
181181
path: ./*linux-x64*.vsix
182182
retention-days: 1
183183

184184
- name: Upload linux-arm64 VSIX package
185-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
185+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
186186
with:
187187
name: vscode-cmsis-solution-nightly-linux-arm64
188188
path: ./*linux-arm64*.vsix
189189
retention-days: 1
190190

191191
- name: Upload darwin-x64 VSIX package
192-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
192+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
193193
with:
194194
name: vscode-cmsis-solution-nightly-darwin-x64
195195
path: ./*darwin-x64*.vsix
196196
retention-days: 1
197197

198198
- name: Upload darwin-arm64 VSIX package
199-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
199+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
200200
with:
201201
name: vscode-cmsis-solution-nightly-darwin-arm64
202202
path: ./*darwin-arm64*.vsix
@@ -212,7 +212,7 @@ jobs:
212212
actions: read
213213
steps:
214214
- name: Harden the runner (Audit all outbound calls)
215-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
215+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
216216
with:
217217
egress-policy: audit
218218

@@ -227,7 +227,7 @@ jobs:
227227
env:
228228
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229229
with:
230-
node-version: '20'
230+
node-version-file: package.json
231231
registry-url: https://npm.pkg.github.com
232232
package-manager-cache: false
233233

@@ -278,14 +278,14 @@ jobs:
278278

279279
- name: Upload HTML report
280280
if: always() && steps.tests.conclusion != 'skipped'
281-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
281+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
282282
with:
283283
name: e2e-report
284284
path: e2e-report
285285

286286
- name: Upload Screenshots
287287
if: always() && steps.tests.conclusion != 'skipped'
288-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
288+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
289289
with:
290290
name: e2e-screenshots
291291
path: e2e-screenshots

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Harden Runner
30-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
30+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3131
with:
3232
egress-policy: audit
3333

@@ -44,7 +44,7 @@ jobs:
4444
publish_results: true
4545

4646
- name: "Upload artifact"
47-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
47+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4848
with:
4949
name: SARIF file
5050
path: results.sarif

.github/workflows/tpip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Harden the runner (Audit all outbound calls)
34-
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
34+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
3535
with:
3636
egress-policy: audit
3737

0 commit comments

Comments
 (0)