Skip to content

Commit f01ac93

Browse files
committed
ci: move workflows to current actions
1 parent bb08ce3 commit f01ac93

12 files changed

Lines changed: 30 additions & 32 deletions

.github/dependabot.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@ updates:
1717
schedule:
1818
interval: weekly
1919
open-pull-requests-limit: 5
20-
# Major bumps on upload/download-artifact change Node runtime +
21-
# hash-mismatch default behaviour. Needs coordinated upgrade with
22-
# the release.yml + ci.yml steps that consume the artifacts, so
23-
# auto-PRs on majors just churn the inbox. Patch/minor still land.
20+
# Keep future major action bumps manual. Artifact and cache actions
21+
# are coupled with CI packaging/smoke jobs, so they need a planned
22+
# workflow sweep instead of isolated bot PRs.
2423
ignore:
2524
- dependency-name: actions/upload-artifact
2625
update-types: [version-update:semver-major]
2726
- dependency-name: actions/download-artifact
2827
update-types: [version-update:semver-major]
29-
# v5 switches to Node 24 runtime. Group with the artifact majors
30-
# above — ship as one Node-24 runner sweep ticket.
3128
- dependency-name: actions/cache
3229
update-types: [version-update:semver-major]
3330

.github/workflows/api-type-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
with:
4343
dotnet-version: '9.0.x'
4444

45-
- name: Setup Node.js 20
45+
- name: Setup Node.js 24
4646
uses: actions/setup-node@v6
4747
with:
48-
node-version: '20'
48+
node-version: '24'
4949

5050
- name: Build daemon
5151
shell: pwsh

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
# run: npm run smoke:packaged:win
163163

164164
- name: Upload artifacts
165-
uses: actions/upload-artifact@v4
165+
uses: actions/upload-artifact@v5
166166
with:
167167
name: release-${{ matrix.target }}
168168
path: src/frontend/release/**

.github/workflows/catalog-contract.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
check:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030

31-
- uses: actions/setup-node@v4
31+
- uses: actions/setup-node@v6
3232
with:
33-
node-version: "20"
33+
node-version: "24"
3434

3535
- name: Run drift check
3636
env:

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
dotnet-version: '9.0.x'
3636

3737
- name: Cache NuGet packages
38-
uses: actions/cache@v4
38+
uses: actions/cache@v5
3939
with:
4040
path: ~/.nuget/packages
4141
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
@@ -61,14 +61,14 @@ jobs:
6161
run: dotnet publish src/daemon/NKS.WebDevConsole.Cli -c Release -r win-x64 --self-contained -o publish/cli
6262

6363
- name: Upload Daemon artifact
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v5
6565
with:
6666
name: daemon-win-x64
6767
path: publish/daemon/
6868
retention-days: 14
6969

7070
- name: Upload CLI artifact
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v5
7272
with:
7373
name: cli-win-x64
7474
path: publish/cli/
@@ -83,13 +83,13 @@ jobs:
8383
- name: Checkout
8484
uses: actions/checkout@v6
8585

86-
- name: Setup Node.js 20
86+
- name: Setup Node.js 24
8787
uses: actions/setup-node@v6
8888
with:
89-
node-version: '20'
89+
node-version: '24'
9090

9191
- name: Cache npm dependencies
92-
uses: actions/cache@v4
92+
uses: actions/cache@v5
9393
with:
9494
path: src/frontend/node_modules
9595
key: npm-${{ runner.os }}-${{ hashFiles('src/frontend/package-lock.json') }}
@@ -109,7 +109,7 @@ jobs:
109109
run: npm run build
110110

111111
- name: Upload frontend artifact
112-
uses: actions/upload-artifact@v4
112+
uses: actions/upload-artifact@v5
113113
with:
114114
name: frontend-out
115115
path: src/frontend/dist-electron/
@@ -128,13 +128,13 @@ jobs:
128128
- name: Checkout
129129
uses: actions/checkout@v6
130130

131-
- name: Setup Node.js 20
131+
- name: Setup Node.js 24
132132
uses: actions/setup-node@v6
133133
with:
134-
node-version: '20'
134+
node-version: '24'
135135

136136
- name: Download daemon artifact
137-
uses: actions/download-artifact@v4
137+
uses: actions/download-artifact@v5
138138
with:
139139
name: daemon-win-x64
140140
path: src/frontend/resources/daemon
@@ -186,7 +186,7 @@ jobs:
186186
run: npm run smoke:packaged:win
187187

188188
- name: Upload installer artifact
189-
uses: actions/upload-artifact@v4
189+
uses: actions/upload-artifact@v5
190190
with:
191191
name: installer-win-x64
192192
path: src/frontend/release/

.github/workflows/defender-submit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v6
4747

4848
- name: Download Build & Release artifacts
49-
uses: actions/download-artifact@v4
49+
uses: actions/download-artifact@v5
5050
with:
5151
path: ./artifacts
5252
run-id: ${{ github.event.workflow_run.id || inputs.run_id }}

.github/workflows/e2e-lifecycle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
with:
4242
dotnet-version: '9.0.x'
4343

44-
- name: Setup Node 20
44+
- name: Setup Node 24
4545
uses: actions/setup-node@v6
4646
with:
47-
node-version: '20'
47+
node-version: '24'
4848

4949
- name: Build daemon
5050
run: dotnet build src/daemon/NKS.WebDevConsole.Daemon/NKS.WebDevConsole.Daemon.csproj -c Release --nologo

.github/workflows/e2e-p0.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
with:
4242
dotnet-version: '9.0.x'
4343

44-
- name: Setup Node 20
44+
- name: Setup Node 24
4545
uses: actions/setup-node@v6
4646
with:
47-
node-version: '20'
47+
node-version: '24'
4848

4949
- name: Build daemon
5050
run: dotnet build src/daemon/NKS.WebDevConsole.Daemon/NKS.WebDevConsole.Daemon.csproj -c Release --nologo
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Upload daemon logs on failure
7070
if: failure()
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v5
7272
with:
7373
name: daemon-logs
7474
path: |

.github/workflows/publish-sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
--skip-duplicate
9090
9191
- name: Upload nupkg as workflow artifact
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v5
9393
with:
9494
name: plugin-sdk-${{ steps.version.outputs.version }}
9595
path: out/*.nupkg

.github/workflows/release-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Download Build & Release artifacts
5454
if: env.skip_scan != 'true'
55-
uses: actions/download-artifact@v4
55+
uses: actions/download-artifact@v5
5656
with:
5757
path: ./artifacts
5858
run-id: ${{ github.event.workflow_run.id || inputs.run_id }}

0 commit comments

Comments
 (0)