Skip to content

Commit

Permalink
test: Add .NET 7 target to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikcio committed Jun 18, 2023
1 parent aa62f25 commit fa3af08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ jobs:
echo ("Copyright=" + $Copyright) >> $Env:GITHUB_ENV
shell: pwsh

- name: Setup .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v1.7.2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x

- name: Setup .NET SDK 6.0.x
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
dotnet-version: |
5.0.x
6.0.x
7.0.x
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.9
Expand Down
2 changes: 1 addition & 1 deletion src/Examine.Test/Examine.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</SccProvider>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net6.0;</TargetFrameworks>
<TargetFrameworks>net7.0;net6.0;</TargetFrameworks>
<IsPackable>false</IsPackable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
Expand Down

0 comments on commit fa3af08

Please sign in to comment.