Skip to content

Commit e65f5ec

Browse files
committed
Only target net80 and above for ci/cd
1 parent c7f41d3 commit e65f5ec

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ jobs:
4444
uses: actions/setup-dotnet@v4
4545
with:
4646
dotnet-version: |
47-
3.1.x
48-
5.0.x
49-
6.0.x
50-
7.0.x
5147
8.0.x
5248
9.0.x
5349
@@ -118,6 +114,7 @@ jobs:
118114
fail-fast: false
119115
matrix:
120116
os: [ubuntu-latest, macos-13, windows-latest]
117+
framework: [net8.0, net9.0]
121118
runs-on: ${{ matrix.os }}
122119

123120
steps:
@@ -130,10 +127,6 @@ jobs:
130127
uses: actions/setup-dotnet@v4
131128
with:
132129
dotnet-version: |
133-
3.1.x
134-
5.0.x
135-
6.0.x
136-
7.0.x
137130
8.0.x
138131
9.0.x
139132
@@ -143,7 +136,7 @@ jobs:
143136
dotnet tool restore
144137
145138
- name: 🧪 Run unit tests
146-
run: dotnet test -c release --no-restore
139+
run: dotnet test -c release --no-restore -f ${{ matrix.framework }}
147140

148141
- name: 📛 Upload hang- and crash-dumps on test failure
149142
if: success() || failure()

.github/workflows/docs-deploy.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ jobs:
7373
uses: actions/setup-dotnet@v4
7474
with:
7575
dotnet-version: |
76-
3.1.x
77-
5.0.x
78-
6.0.x
79-
7.0.x
8076
8.0.x
8177
9.0.x
8278

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ jobs:
5858
uses: actions/setup-dotnet@v4
5959
with:
6060
dotnet-version: |
61-
3.1.x
62-
5.0.x
63-
6.0.x
64-
7.0.x
6561
8.0.x
6662
9.0.x
6763

tests/bunit.generators.tests/bunit.generators.tests.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-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<RootNamespace>Bunit</RootNamespace>
66
<AssemblyName>Bunit.Generator.Tests</AssemblyName>
77
<ImplicitUsings>true</ImplicitUsings>

0 commit comments

Comments
 (0)