Skip to content

Commit

Permalink
feat: explicitly support .NET 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfmoehre committed Feb 22, 2023
1 parent 2703d3d commit 6f16711
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: "6.0.x"
dotnet-version: "7.0.x"
- run: dotnet build
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: "6.0.x"
dotnet-version: "7.0.x"
- run: dotnet test /p:CollectCoverage=true
- name: publish coverage report to coveralls.io
uses: coverallsapp/github-action@1.1.3
Expand All @@ -38,7 +38,7 @@ jobs:
uses: actions/setup-node@v3
- uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: "6.0.x"
dotnet-version: "7.0.x"
- name: Install packages
run: npm ci --no-fund
- name: Semantic Release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<CoverletOutputFormat>lcov</CoverletOutputFormat>
<CoverletOutput>$(MSBuildThisFileDirectory)/../../coverage/</CoverletOutput>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);SA0001</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 6f16711

Please sign in to comment.