Skip to content

Commit

Permalink
Run tests for different version in different jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mymattcarroll committed Jun 14, 2024
1 parent 639cc21 commit 59d29b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
runs-on: ubuntu-latest

strategy:
matrix:
dotnet-version: ["6.x", "8.x"]
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK 6.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: "6.0.x"
- name: Setup .NET SDK 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
- name: Setup .NET SDK 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.0.x"
dotnet-version: ${{ matrix.dotnet-version }}
- uses: microsoft/DevSkim-Action@v1
- uses: github/codeql-action/upload-sarif@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion OneBlink.SDK.Tests/OneBlink.SDK.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>unit_tests</RootNamespace>

<IsPackable>false</IsPackable>
Expand Down

0 comments on commit 59d29b5

Please sign in to comment.