Skip to content

Commit 2f6a528

Browse files
committed
Update GitHub actions and drop legacy .NET versions
1 parent af9ab31 commit 2f6a528

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci-build.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,27 @@ jobs:
2525
VSTEST_CONNECTION_TIMEOUT: 900
2626

2727
steps:
28-
- uses: actions/checkout@v2
29-
- name: Setup .NET Core
30-
uses: actions/setup-dotnet@v1
28+
- uses: actions/checkout@v4
29+
- name: Setup .NET
30+
uses: actions/setup-dotnet@v4
3131
with:
3232
dotnet-version: |
33-
3.1.x
34-
5.0.x
3533
6.0.x
36-
7.0.x
34+
8.0.x
3735
- name: Install dependencies
3836
run: dotnet restore src/${{ env.PROJECT_NAME }}.sln
3937
- name: Build solution
4038
run: dotnet build src/${{ env.PROJECT_NAME }}.sln -c Release --no-restore
4139
- name: Test
4240
run: dotnet test src/${{ env.PROJECT_NAME }}.sln -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../coverage/
43-
- uses: codecov/codecov-action@v2
41+
- uses: codecov/codecov-action@v4
4442
if: github.ref == 'refs/heads/main'
4543
with:
4644
token: ${{ secrets.CODECOV_TOKEN }}
4745
directory: src/coverage
4846
flags: unittests
4947
- name: Upload Artifact
50-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v4
5149
with:
5250
name: nupkg
5351
path: src/${{ env.PROJECT_NAME }}/bin/Release/*.nupkg

0 commit comments

Comments
 (0)