Skip to content

Commit f7a8885

Browse files
committed
Drop .NET 6, focus on .NET 8
1 parent fee9a0d commit f7a8885

File tree

38 files changed

+272
-4183
lines changed

38 files changed

+272
-4183
lines changed

.github/workflows/dotnet-core.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
dotnet --list-sdks >> $GITHUB_ENV
3939
echo "EOF" >> $GITHUB_ENV
4040
41-
- name: Setup .NET 6, 7, 8
41+
- name: Setup .NET 8,9
4242
uses: actions/setup-dotnet@v3
43-
if: contains(env.DOTNET_VERSION_LIST, '6.0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '7.0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '8.0.') == 'false'
43+
if: contains(env.DOTNET_VERSION_LIST, '9.0.') == 'false' || contains(env.DOTNET_VERSION_LIST, '8.0.') == 'false'
4444
with:
45-
dotnet-version: "6\n7\n8\n"
45+
dotnet-version: "8\n9\n"
4646

4747
- name: Setup .NET 4.8.1 if on windows
4848
uses: actions/setup-dotnet@v3
@@ -85,27 +85,28 @@ jobs:
8585
run: dotnet build --maxcpucount:1 -c Release
8686
if: matrix.os == 'windows-latest'
8787

88-
- name: Build for .NET 8, 6
89-
run: dotnet build --maxcpucount:1 -c Release --framework net6.0 net8.0
88+
- name: Build for .NET 8, 9
89+
# run: dotnet build --maxcpucount:1 -c Release --framework net8.0 net9.0
90+
run: dotnet build --maxcpucount:1 -c Release --framework net8.0
9091
if: matrix.os != 'windows-latest'
9192

92-
- name: Test .NET 6, 8 without Coverage
93+
- name: Test .NET 8, ? without Coverage
9394
if: matrix.os != 'windows-latest'
9495
run: |
95-
dotnet test -c Release --framework net6.0
9696
dotnet test -c Release --framework net8.0
97+
# dotnet test -c Release --framework net9.0
9798

9899
- uses: actions/upload-artifact@v3
99100
if: failure()
100101
with:
101102
name: TestResults-${{matrix.os}}-${{ env.ARTIFACT_VERSION }}
102103
path: TestResults/
103104

104-
- name: Test .NET 8, 6, and 4.8.1 with Coverage
105+
- name: Test .NET 8, SKIP 9, and 4.8.1 with Coverage
105106
if: matrix.os == 'windows-latest'
106107
run: |
107108
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net48.opencover.xml --framework net48
108-
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net6.opencover.xml --framework net6.0
109+
# dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net9.opencover.xml --framework net9.0
109110
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.net8.opencover.xml --framework net8.0
110111

111112
- name: Upload coverage to Codecov

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</ItemGroup>
55

66
<PropertyGroup>
7-
<Copyright>Copyright © 2024 Imazen LLC</Copyright>
7+
<Copyright>Copyright © 2025 Imazen LLC</Copyright>
88
<PackageProjectUrl>https://github.com/imazen/imageflow-dotnet-server</PackageProjectUrl>
99
<RepositoryUrl Condition="'$(GITHUB_REPOSITORY)' != ''">$(GITHUB_SERVER_URL)/$(GITHUB_REPOSITORY)</RepositoryUrl>
1010
<SourceRevisionId Condition="'$(SourceRevisionId)' == ''">$(GITHUB_SHA)</SourceRevisionId>

examples/Imageflow.Server.Example/Imageflow.Server.Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
55
<DockerfileContext>..\..\src</DockerfileContext>
6-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
6+
<TargetFrameworks>net8.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)