Skip to content

Commit

Permalink
Test .NET 7.0 support (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Nov 30, 2022
1 parent 233cc69 commit 06873a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ jobs:

steps:
- name: Checkout source code
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
uses: actions/checkout@v3

- name: Test
run: dotnet test --configuration Release
10 changes: 1 addition & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,7 @@ jobs:

steps:
- name: Checkout source code
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
uses: actions/checkout@v3

- name: Test
run: dotnet test --configuration Release
Expand Down
4 changes: 3 additions & 1 deletion test/Parlot.Tests/Parlot.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>latest</LangVersion>
<!-- Ignore: The target framework '...' is out of support and will not receive security updates in the future -->
<NoWarn>NETSDK1138</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 06873a3

Please sign in to comment.