Skip to content

Commit

Permalink
feat: add net8 support (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
mobilutz committed Mar 2, 2024
1 parent 535a631 commit abbb236
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'

- name: Test
run: dotnet test --logger "trx" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:ExcludeByFile="**/PlatformAbstractions.cs"
Expand All @@ -46,4 +50,4 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './Versionize.Tests/coverage.net7.0.info'
path-to-lcov: './Versionize.Tests/coverage.net8.0.info'
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Build Release
run: dotnet build --configuration Release

Expand Down
2 changes: 1 addition & 1 deletion Versionize.Tests/Versionize.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion Versionize/Versionize.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>latest</LangVersion>
<PackAsTool>True</PackAsTool>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<Authors>saintedlama;cab452005</Authors>
<PackageTags>release;versioning;conventional;commit;git</PackageTags>
<Description>Automatic versioning and CHANGELOG generation, using conventional commit messages.</Description>
Expand Down

0 comments on commit abbb236

Please sign in to comment.