Skip to content

Commit c7a4e69

Browse files
committed
Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 4e0ccb9 commit c7a4e69

18 files changed

+40
-40
lines changed

.github/workflows/close-inactive-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
issues: write
1111
pull-requests: write
1212
steps:
13-
- uses: actions/stale@v5
13+
- uses: actions/stale@v10
1414
with:
1515
days-before-issue-stale: 90
1616
days-before-issue-close: 14

.github/workflows/codeql-analysis.yml

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

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@v6
3636
with:
3737
persist-credentials: false
3838

.github/workflows/dotnet-build-and-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
outputs:
3030
dotnetChanges: ${{ steps.filter.outputs.dotnet }}
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
with:
3434
persist-credentials: false
3535
- uses: dorny/paths-filter@v2
@@ -69,12 +69,12 @@ jobs:
6969
runs-on: ${{ matrix.os }}
7070
environment: ${{ matrix.environment }}
7171
steps:
72-
- uses: actions/checkout@v5
72+
- uses: actions/checkout@v6
7373
with:
7474
persist-credentials: false
7575

7676
- name: Setup dotnet
77-
uses: actions/setup-dotnet@v4.3.1
77+
uses: actions/setup-dotnet@v5.0.1
7878
with:
7979
global-json-file: ${{ github.workspace }}/dotnet/global.json
8080

@@ -191,7 +191,7 @@ jobs:
191191
reporttypes: "HtmlInline;JsonSummary"
192192

193193
- name: Upload coverage report artifact
194-
uses: actions/upload-artifact@v4
194+
uses: actions/upload-artifact@v6
195195
with:
196196
name: CoverageReport-${{ matrix.os }}-${{ matrix.dotnet }}-${{ matrix.configuration }} # Artifact name
197197
path: ./TestResults/Reports # Directory containing files to upload
@@ -232,13 +232,13 @@ jobs:
232232
- name: Fail workflow if tests failed
233233
id: check_tests_failed
234234
if: contains(join(needs.*.result, ','), 'failure')
235-
uses: actions/github-script@v6
235+
uses: actions/github-script@v8
236236
with:
237237
script: core.setFailed('Integration Tests Failed!')
238238

239239
- name: Fail workflow if tests cancelled
240240
id: check_tests_cancelled
241241
if: contains(join(needs.*.result, ','), 'cancelled')
242-
uses: actions/github-script@v6
242+
uses: actions/github-script@v8
243243
with:
244244
script: core.setFailed('Integration Tests Cancelled!')

.github/workflows/dotnet-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
runs-on: ${{ matrix.os }}
2626
steps:
27-
- uses: actions/checkout@v5
27+
- uses: actions/checkout@v6
2828
with:
2929
clean: true
3030
persist-credentials: false
@@ -55,7 +55,7 @@ jobs:
5555
done
5656
5757
- name: Upload dotnet test results
58-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@v6
5959
with:
6060
name: dotnet-testresults-${{ matrix.configuration }}
6161
path: ./TestResults
@@ -72,19 +72,19 @@ jobs:
7272
env:
7373
NUGET_CERT_REVOCATION_MODE: offline
7474
steps:
75-
- uses: actions/checkout@v5
75+
- uses: actions/checkout@v6
7676
with:
7777
clean: true
7878
persist-credentials: false
7979

8080
- name: Setup .NET SDK ${{ matrix.dotnet-version }}
81-
uses: actions/setup-dotnet@v4
81+
uses: actions/setup-dotnet@v5
8282
with:
8383
dotnet-version: ${{ matrix.dotnet-version }}
8484
env:
8585
NUGET_AUTH_TOKEN: ${{ secrets.GPR_READ_TOKEN }}
8686

87-
- uses: actions/cache@v4
87+
- uses: actions/cache@v5
8888
with:
8989
path: ~/.nuget/packages
9090
# Look to see if there is a cache hit for the corresponding requirements file
@@ -122,7 +122,7 @@ jobs:
122122
done
123123
124124
- name: Upload dotnet test results
125-
uses: actions/upload-artifact@v4
125+
uses: actions/upload-artifact@v6
126126
with:
127127
name: dotnet-testresults-${{ matrix.configuration }}
128128
path: ./TestResults

.github/workflows/dotnet-format.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: Check out code
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737
with:
3838
fetch-depth: 0
3939
persist-credentials: false

.github/workflows/dotnet-integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
configuration: [Debug]
2323
runs-on: ${{ matrix.os }}
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
if: ${{ github.event_name != 'pull_request' }}
2727
with:
2828
clean: true
2929
persist-credentials: false
3030

3131
- name: Setup .NET
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5
3333
if: ${{ github.event_name != 'pull_request' }}
3434
with:
3535
dotnet-version: 10.0.x
@@ -60,7 +60,7 @@ jobs:
6060
done
6161
6262
- name: Upload dotnet test results
63-
uses: actions/upload-artifact@v4
63+
uses: actions/upload-artifact@v6
6464
with:
6565
name: dotnet-testresults-${{ matrix.configuration }}
6666
path: ./TestResults

.github/workflows/generate-pr-description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
status: ${{ job.status }}
4545

4646
- name: Add comment to PR
47-
uses: actions/github-script@v6
47+
uses: actions/github-script@v8
4848
if: always()
4949
with:
5050
script: |

.github/workflows/label-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
issues: write
1515
steps:
16-
- uses: actions/github-script@v6
16+
- uses: actions/github-script@v8
1717
with:
1818
github-token: ${{ secrets.GH_ACTIONS_PR_WRITE }}
1919
script: |

.github/workflows/label-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
pull-requests: write
1717

1818
steps:
19-
- uses: actions/labeler@v4
19+
- uses: actions/labeler@v6
2020
with:
2121
repo-token: "${{ secrets.GH_ACTIONS_PR_WRITE }}"

.github/workflows/label-title-prefix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
pull-requests: write
1616

1717
steps:
18-
- uses: actions/github-script@v6
18+
- uses: actions/github-script@v8
1919
name: "Issue/PR: update title"
2020
with:
2121
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)