Skip to content

Commit

Permalink
Enable net8.0 build & publish. (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3c authored Mar 7, 2024
1 parent 66192f3 commit 28dddb1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
DOTNET_VERSION: 7.0.x
DOTNET_VERSION: 8.0.x

jobs:
check:
Expand All @@ -36,6 +36,7 @@ jobs:
dotnet: # https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json
- framework: net6.0
- framework: net7.0
- framework: net8.0

steps:
- uses: actions/checkout@v4
Expand All @@ -55,7 +56,7 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- run: dotnet test src/Cottle.Test --framework net7.0
- run: dotnet test src/Cottle.Test --framework net8.0

publish:
name: Publish NuGet package
Expand Down
2 changes: 1 addition & 1 deletion src/Cottle.Benchmark/Cottle.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<PreserveCompilationContext>True</PreserveCompilationContext>
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Cottle.Test/Cottle.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<PackageId>Cottle.Test</PackageId>
<TargetFrameworks>net7.0;net6.0;net472</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net472</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Cottle/Cottle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Description>High performance, light &amp; extensible template engine library for .NET 4.7.2 and above.</Description>
<Version>2.0.10</Version>
<Authors>Remi Caput</Authors>
<TargetFrameworks>net7.0;net6.0;net472</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net472</TargetFrameworks>
<Title>Cottle: High performance template engine</Title>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 28dddb1

Please sign in to comment.