Skip to content

Commit 7e8de74

Browse files
committed
ci: update GitHub actions
1 parent 57376cf commit 7e8de74

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

.github/workflows/audit-on-push.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99
security_audit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v5
13+
14+
- name: Install cargo audit
15+
shell: bash
16+
run: |
17+
if [[ ! -x "$(command -v cargo-audit)" ]]; then
18+
echo "cargo-audit not found, installing it with cargo"
19+
cargo install --force cargo-audit
20+
fi;
1321
1422
- run: cargo audit

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-24.04
3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3838

3939
- name: Install toolchain
4040
uses: dtolnay/rust-toolchain@stable
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-22.04
5050
steps:
5151
- name: Checkout repository
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v5
5353

5454
- id: setup
5555
uses: ./.github/actions/rust-setup
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-22.04
7272
steps:
7373
- name: Checkout repository
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v5
7575
with:
7676
# History of 200 should be more than enough to calculate commit count since last release tag.
7777
fetch-depth: 200
@@ -148,7 +148,7 @@ jobs:
148148

149149
steps:
150150
- name: Checkout ${{ env.PROJECT_NAME}}
151-
uses: actions/checkout@v4
151+
uses: actions/checkout@v5
152152
with:
153153
# History of 200 should be more than enough to calculate commit count since last release tag.
154154
fetch-depth: 200
@@ -262,7 +262,7 @@ jobs:
262262

263263
steps:
264264
- name: Checkout ${{ env.PROJECT_NAME}}
265-
uses: actions/checkout@v4
265+
uses: actions/checkout@v5
266266

267267
- id: setup
268268
uses: ./.github/actions/rust-setup
@@ -312,12 +312,12 @@ jobs:
312312
runs-on: ubuntu-24.04
313313
steps:
314314
- name: Checkout
315-
uses: actions/checkout@v4
315+
uses: actions/checkout@v5
316316
with:
317317
fetch-depth: 0
318318

319319
- name: Setup Node.js
320-
uses: actions/setup-node@v4
320+
uses: actions/setup-node@v5
321321
with:
322322
node-version: "lts/*"
323323

@@ -343,7 +343,7 @@ jobs:
343343

344344
steps:
345345
- name: Download build artifacts
346-
uses: actions/download-artifact@v4
346+
uses: actions/download-artifact@v5
347347

348348
- name: Log
349349
if: env.DEBUG_OUTPUT == 'true'
@@ -385,7 +385,7 @@ jobs:
385385
386386
# Checkout is required for the next `gh release delete` step
387387
- name: Checkout
388-
uses: actions/checkout@v4
388+
uses: actions/checkout@v5
389389
with:
390390
path: main
391391

@@ -439,7 +439,7 @@ jobs:
439439

440440
steps:
441441
- name: Download Linux-x64 build artifact
442-
uses: actions/download-artifact@v4
442+
uses: actions/download-artifact@v5
443443
with:
444444
pattern: "uc-intg-hass-*-${{ env.LINUX_ARTIFACT_SUFFIX }}*"
445445

@@ -453,7 +453,7 @@ jobs:
453453
printenv
454454
455455
- name: Check out repo for Docker build
456-
uses: actions/checkout@v4
456+
uses: actions/checkout@v5
457457
with:
458458
# needs to be a subdirectory, otherwise the workspace gets erased
459459
path: src

0 commit comments

Comments
 (0)