Skip to content

Commit 0af4d61

Browse files
authored
Merge pull request #1111 from LiorBanai/master
modernize repository
2 parents cb07bb5 + 885c853 commit 0af4d61

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

.github/workflows/CI.yml

+10-18
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,33 @@ jobs:
77
env:
88
DOTNET_NOLOGO: true
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-dotnet@v3
10+
- uses: actions/checkout@v4.2.2
11+
- uses: actions/setup-dotnet@v4.1.0
1212
with:
13-
dotnet-version: |
14-
3.1.x
15-
6.0.x
13+
dotnet-version: 9.0.x
1614
- run: dotnet restore src/NetMQ.sln
1715
- name: build
1816
run: dotnet build src/NetMQ.sln /p:Configuration=Release /verbosity:minimal
19-
- name: test netcoreapp3.1
20-
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f netcoreapp3.1 src/NetMQ.Tests/NetMQ.Tests.csproj
21-
- name: test net6.0
22-
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net6.0 src/NetMQ.Tests/NetMQ.Tests.csproj
17+
- name: test net9.0
18+
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net9.0 src/NetMQ.Tests/NetMQ.Tests.csproj
2319
windows:
2420
runs-on: windows-latest
2521
env:
2622
DOTNET_NOLOGO: true
2723
steps:
28-
- uses: actions/checkout@v3
29-
- uses: actions/setup-dotnet@v3
24+
- uses: actions/checkout@v4.2.2
25+
- uses: actions/setup-dotnet@v4.1.0
3026
with:
31-
dotnet-version: |
32-
3.1.x
33-
6.0.x
27+
dotnet-version: 9.0.x
3428
- name: Install codecov
3529
run: |
3630
choco install opencover.portable
3731
choco install codecov
3832
- run: dotnet restore src/NetMQ.sln
3933
- name: build
4034
run: dotnet build src/NetMQ.sln /p:Configuration=Release /verbosity:minimal
41-
- name: test net6.0
42-
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net6.0 src\NetMQ.Tests\NetMQ.Tests.csproj
43-
- name: test netcoreapp3.1
44-
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f netcoreapp3.1 src\NetMQ.Tests\NetMQ.Tests.csproj
35+
- name: test net9.0
36+
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net9.0 src\NetMQ.Tests\NetMQ.Tests.csproj
4537
- name: test net47
4638
run: dotnet test -v n -p:ParallelizeTestCollections=false --configuration Release --no-build -f net47 src\NetMQ.Tests\NetMQ.Tests.csproj
4739
- name: coverage

src/NetMQ.Tests/NetMQ.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
88
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
99
<IsTestProject>true</IsTestProject>
10-
<TargetFrameworks>net6.0;netcoreapp3.1;net47</TargetFrameworks>
10+
<TargetFrameworks>net9.0;net47</TargetFrameworks>
1111
</PropertyGroup>
1212

1313
<PropertyGroup>

0 commit comments

Comments
 (0)