Skip to content

Commit

Permalink
Merge pull request #246 from kasperk81/master
Browse files Browse the repository at this point in the history
use correct framework
  • Loading branch information
dvsekhvalnov committed May 17, 2024
2 parents e56a3af + 0feb790 commit 44d2a08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
32 changes: 10 additions & 22 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,29 @@ jobs:
fail-fast: false # we want to see list of failing tests for each combination
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
framework: ['netcoreapp3.1', 'netcoreapp2.1', 'net50', 'net80']
framework: ['netcoreapp3.1', 'net5.0', 'net8.0']
exclude:
- os: macos-latest
framework: 'netcoreapp2.1'
framework: 'netcoreapp3.1'

- os: macos-latest
framework: 'netcoreapp3.1'
framework: 'net5.0'

- os: macos-latest
framework: 'net50'
framework: 'net8.0'

steps:

- name: Check out code onto host
uses: actions/checkout@v1

- name: Setup .Net 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x' # SDK Version to use.

- name: Setup .Net 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x' # SDK Version to use.

- name: Setup .Net 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x' # SDK Version to use.

- name: Setup .Net 8.0
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x' # SDK Version to use.
dotnet-version: |
3.1.x
5.0.x
8.0.x
- name: Dotnet info
run: |
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>UnitTests Class Library</Description>
<Authors>Administrator</Authors>
<TargetFrameworks>netcoreapp3.1;net50;net80</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net8.0</TargetFrameworks>
<AssemblyName>UnitTests</AssemblyName>
<PackageId>UnitTests</PackageId>
</PropertyGroup>
Expand Down

0 comments on commit 44d2a08

Please sign in to comment.