Skip to content

Commit 21b28b8

Browse files
author
Alex Peck
committed
net9
1 parent 28e4692 commit 21b28b8

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

.github/workflows/gate.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,28 @@ jobs:
6969
with:
7070
name: test-results-win6-std
7171
path: BitFaster.Caching.UnitTests.Std/TestResults/results6.trx
72+
73+
- name: Test (9.0)
74+
run: dotnet test --no-restore --verbosity normal -f net9.0 /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results9.trx"
75+
- name: Upload test results (9.0)
76+
uses: actions/upload-artifact@v4 # upload test results
77+
if: success() || failure() # run this step even if previous step failed
78+
with:
79+
name: test-results-win9
80+
path: BitFaster.Caching.UnitTests/TestResults/results9.trx
81+
- name: Upload test results (9.0 .NET Std)
82+
uses: actions/upload-artifact@v4
83+
if: success() || failure()
84+
with:
85+
name: test-results-win9-std
86+
path: BitFaster.Caching.UnitTests.Std/TestResults/results9.trx
7287

73-
- name: Publish coverage report to coveralls.io (6.0)
88+
- name: Publish coverage report to coveralls.io (9.0)
7489
uses: coverallsapp/github-action@master
7590
with:
7691
github-token: ${{ secrets.GITHUB_TOKEN }}
77-
path-to-lcov: BitFaster.Caching.UnitTests/TestResults/coverage.net6.0.info
78-
flag-name: win6
92+
path-to-lcov: BitFaster.Caching.UnitTests/TestResults/coverage.net9.0.info
93+
flag-name: win9
7994
parallel: true
8095

8196
- name: Publish NuGet artifacts

BitFaster.Caching.UnitTests/BitFaster.Caching.UnitTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net48;netcoreapp3.1;net6.0</TargetFrameworks>
5-
<LangVersion>9.0</LangVersion>
4+
<TargetFrameworks>net48;net6.0</TargetFrameworks>
5+
<LangVersion>10.0</LangVersion>
66
</PropertyGroup>
77

88
<ItemGroup>

BitFaster.Caching/BitFaster.Caching.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0;net9.0</TargetFrameworks>
55
<LangVersion>11.0</LangVersion>
66
<Authors>Alex Peck</Authors>
77
<Company />

0 commit comments

Comments
 (0)