Skip to content

Commit baf1e1a

Browse files
committed
Upgrade GitHub Actions to current Node 24 majors
1 parent c73e46c commit baf1e1a

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/steps/install_dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
steps:
2525
# Install .NET
2626
- name: Setup .NET SDK from global.json
27-
uses: actions/setup-dotnet@v4
27+
uses: actions/setup-dotnet@v5
2828
with:
2929
global-json-file: 'global.json'
3030

.github/workflows/build-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: windows-latest
2727
timeout-minutes: 60
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 0
3232

@@ -45,7 +45,7 @@ jobs:
4545
needs:
4646
- build
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949
with:
5050
fetch-depth: 0
5151

@@ -64,7 +64,7 @@ jobs:
6464
needs:
6565
- build
6666
steps:
67-
- uses: actions/checkout@v4
67+
- uses: actions/checkout@v6
6868
with:
6969
fetch-depth: 0
7070

@@ -83,7 +83,7 @@ jobs:
8383
needs:
8484
- build
8585
steps:
86-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@v6
8787
with:
8888
fetch-depth: 0
8989

.github/workflows/release-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
release_tag: ${{ steps.resolve_version.outputs.release_tag }}
4040
release_version: ${{ steps.resolve_version.outputs.display_version }}
4141
steps:
42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v6
4343
with:
4444
fetch-depth: 0
4545

@@ -99,7 +99,7 @@ jobs:
9999
archive_name: dotpilot-desktop-linux.zip
100100
output_path: artifacts/publish/linux
101101
steps:
102-
- uses: actions/checkout@v4
102+
- uses: actions/checkout@v6
103103
with:
104104
fetch-depth: 0
105105
ref: ${{ github.sha }}
@@ -142,7 +142,7 @@ jobs:
142142
- prepare_release
143143
- publish_desktop
144144
steps:
145-
- uses: actions/checkout@v4
145+
- uses: actions/checkout@v6
146146
with:
147147
fetch-depth: 0
148148
ref: ${{ github.sha }}

github-actions-yaml-review.plan.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ Review the current GitHub Actions validation and release workflows, record concr
8383
- `actionlint .github/workflows/release-publish.yml`
8484
Done when: touched workflow files still parse cleanly.
8585

86+
- [x] Step 8: Remove deprecated Node 20 JavaScript action usage from GitHub workflows.
87+
Verification:
88+
- upgrade `actions/checkout` usages to the current stable major
89+
- upgrade `actions/setup-dotnet` usage in the shared composite action to the current stable major
90+
- `actionlint` still passes for both workflows
91+
Done when: the workflows no longer pin the deprecated Node 20 action majors reported by GitHub Actions.
92+
8693
## Full-Test Baseline Step
8794

8895
- [x] Capture the current workflow state before proposing changes.

0 commit comments

Comments
 (0)