Skip to content

Commit 8e0c3f2

Browse files
iammukeshmclaude
andcommitted
ci: pin all GitHub Actions to latest versions with Node.js 24 support
- actions/checkout: v4 → v4.2.2 - actions/setup-dotnet: v4 → v4.3.1 - actions/cache: v4 → v4.2.3 - actions/upload-artifact: v4 → v4.6.2 - actions/download-artifact: v4 → v4.3.0 - docker/login-action: v3 → v3.4.0 - Remove FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 (no longer needed with pinned versions that natively support Node.js 24) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2993065 commit 8e0c3f2

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ env:
3030
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
3131
DOTNET_CLI_TELEMETRY_OPTOUT: true
3232
DOTNET_NOLOGO: true
33-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
3433

3534
jobs:
3635
build:
@@ -39,16 +38,16 @@ jobs:
3938

4039
steps:
4140
- name: Checkout
42-
uses: actions/checkout@v4
41+
uses: actions/checkout@v4.2.2
4342

4443
- name: Setup .NET SDK
45-
uses: actions/setup-dotnet@v4
44+
uses: actions/setup-dotnet@v4.3.1
4645
with:
4746
dotnet-version: '10.0.x'
4847
dotnet-quality: 'preview'
4948

5049
- name: Cache NuGet packages
51-
uses: actions/cache@v4
50+
uses: actions/cache@v4.2.3
5251
with:
5352
path: ~/.nuget/packages
5453
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
@@ -66,7 +65,7 @@ jobs:
6665
continue-on-error: true
6766

6867
- name: Upload build artifacts
69-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@v4.6.2
7069
with:
7170
name: build-output
7271
path: |
@@ -96,24 +95,24 @@ jobs:
9695

9796
steps:
9897
- name: Checkout
99-
uses: actions/checkout@v4
98+
uses: actions/checkout@v4.2.2
10099

101100
- name: Setup .NET SDK
102-
uses: actions/setup-dotnet@v4
101+
uses: actions/setup-dotnet@v4.3.1
103102
with:
104103
dotnet-version: '10.0.x'
105104
dotnet-quality: 'preview'
106105

107106
- name: Cache NuGet packages
108-
uses: actions/cache@v4
107+
uses: actions/cache@v4.2.3
109108
with:
110109
path: ~/.nuget/packages
111110
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
112111
restore-keys: |
113112
${{ runner.os }}-nuget-
114113
115114
- name: Download build artifacts
116-
uses: actions/download-artifact@v4
115+
uses: actions/download-artifact@v4.3.0
117116
with:
118117
name: build-output
119118
path: src
@@ -122,7 +121,7 @@ jobs:
122121
run: dotnet test ${{ matrix.test-project.path }} -c Release --no-build --verbosity normal --logger "trx;LogFileName=${{ matrix.test-project.name }}.trx"
123122

124123
- name: Upload test results
125-
uses: actions/upload-artifact@v4
124+
uses: actions/upload-artifact@v4.6.2
126125
if: always()
127126
with:
128127
name: test-results-${{ matrix.test-project.name }}
@@ -137,24 +136,24 @@ jobs:
137136

138137
steps:
139138
- name: Checkout
140-
uses: actions/checkout@v4
139+
uses: actions/checkout@v4.2.2
141140

142141
- name: Setup .NET SDK
143-
uses: actions/setup-dotnet@v4
142+
uses: actions/setup-dotnet@v4.3.1
144143
with:
145144
dotnet-version: '10.0.x'
146145
dotnet-quality: 'preview'
147146

148147
- name: Cache NuGet packages
149-
uses: actions/cache@v4
148+
uses: actions/cache@v4.2.3
150149
with:
151150
path: ~/.nuget/packages
152151
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
153152
restore-keys: |
154153
${{ runner.os }}-nuget-
155154
156155
- name: Login to GHCR
157-
uses: docker/login-action@v3
156+
uses: docker/login-action@v3.4.0
158157
with:
159158
registry: ghcr.io
160159
username: ${{ github.actor }}
@@ -186,16 +185,16 @@ jobs:
186185
187186
steps:
188187
- name: Checkout
189-
uses: actions/checkout@v4
188+
uses: actions/checkout@v4.2.2
190189

191190
- name: Setup .NET SDK
192-
uses: actions/setup-dotnet@v4
191+
uses: actions/setup-dotnet@v4.3.1
193192
with:
194193
dotnet-version: '10.0.x'
195194
dotnet-quality: 'preview'
196195

197196
- name: Cache NuGet packages
198-
uses: actions/cache@v4
197+
uses: actions/cache@v4.2.3
199198
with:
200199
path: ~/.nuget/packages
201200
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
@@ -251,7 +250,7 @@ jobs:
251250
run: dotnet nuget push "./nupkgs/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
252251

253252
- name: Login to GHCR
254-
uses: docker/login-action@v3
253+
uses: docker/login-action@v3.4.0
255254
with:
256255
registry: ghcr.io
257256
username: ${{ github.actor }}

0 commit comments

Comments
 (0)