Skip to content

Commit 3c7fefd

Browse files
committed
Upgrade worflow tasks
1 parent 56d0b53 commit 3c7fefd

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
GITHUB_CONTEXT: ${{ toJson(github) }}
1616
run: echo "$GITHUB_CONTEXT"
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 0
2121
- name: Setup .NET versions
22-
uses: actions/setup-dotnet@v4
22+
uses: actions/setup-dotnet@v5
2323
with:
2424
dotnet-version: |
2525
8.0.x
@@ -40,23 +40,23 @@ jobs:
4040
continue-on-error: true
4141
- name: Pack
4242
run: dotnet pack --output ./artifacts --configuration Release --no-build
43-
- uses: actions/upload-artifact@v4
43+
- uses: actions/upload-artifact@v5
4444
with:
4545
name: artifacts
4646
path: ./artifacts
4747

4848
testOnSupportedDotnetVersions:
4949
strategy:
5050
matrix:
51-
os: [ubuntu-22.04, windows-latest]
51+
os: [ubuntu-latest, windows-latest]
5252
runs-on: ${{ matrix.os }}
5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v5
5656
- name: Fetch all history for all tags and branches
5757
run: git fetch --prune --unshallow
5858
- name: Setup .NET versions
59-
uses: actions/setup-dotnet@v4
59+
uses: actions/setup-dotnet@v5
6060
with:
6161
dotnet-version: |
6262
8.0.x
@@ -77,13 +77,13 @@ jobs:
7777
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
7878
steps:
7979
- name: Checkout
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v5
8181
- name: Setup .NET versions
82-
uses: actions/setup-dotnet@v4
82+
uses: actions/setup-dotnet@v5
8383
with:
8484
dotnet-version: |
8585
10.0.x
86-
- uses: actions/download-artifact@v4
86+
- uses: actions/download-artifact@v5
8787
with:
8888
name: artifacts
8989
path: ./artifacts

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ jobs:
1919

2020
steps:
2121
- name: Checkout Repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
- name: Fetch all history for all tags and branches
2424
run: git fetch --prune --unshallow
2525
- name: Setup .NET versions
26-
uses: actions/setup-dotnet@v4
26+
uses: actions/setup-dotnet@v5
2727
with:
2828
dotnet-version: |
2929
8.0.x
3030
9.0.x
3131
10.0.x
3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v3
33+
uses: github/codeql-action/init@v4
3434
with:
3535
queries: security-and-quality
3636
languages: csharp
3737
config-file: ./.github/codeql-config.yml
3838
- name: Build source code
39-
run: dotnet build --configuration Release --framework net8.0
39+
run: dotnet build --configuration Release --framework net10.0
4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@v3
41+
uses: github/codeql-action/analyze@v4

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"version": "10.0.100",
44
"allowPrerelease": false,
5-
"rollForward": "latestMinor"
5+
"rollForward": "latestMajor"
66
}
77
}

0 commit comments

Comments
 (0)