Skip to content

Commit

Permalink
Migrate tests, console demo app and GitHub actions to .NET 9 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
vers-one authored Dec 15, 2024
1 parent 78daf62 commit 0320c50
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7
dotnet-version: 9
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7
dotnet-version: 9
- name: Restore dependencies
run: dotnet restore .\Source\VersOne.Epub\VersOne.Epub.csproj
- name: Install DocFX
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7
dotnet-version: 9
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7
dotnet-version: 9
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7
dotnet-version: 9
- name: Build test project and its dependencies
run: dotnet build Source\VersOne.Epub.Test -c $env:Configuration
- name: Run unit tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
<TargetFramework>net9.0</TargetFramework>
<Authors>vers</Authors>
<Copyright>vers, 2015-2024</Copyright>
<Version>3.3.2</Version>
Expand Down
2 changes: 1 addition & 1 deletion Source/VersOne.Epub.Test/VersOne.Epub.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Authors>vers</Authors>
<Copyright>vers, 2015-2024</Copyright>
<Version>3.3.2</Version>
Expand Down
1 change: 1 addition & 0 deletions Source/VersOne.Epub/VersOne.Epub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
<CheckNotRecommendedTargetFramework>false</CheckNotRecommendedTargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.25.0.90414">
Expand Down

0 comments on commit 0320c50

Please sign in to comment.