Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhdk authored Nov 18, 2024
1 parent 4b0f4dc commit 451c7da
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ jobs:
strategy:
fail-fast: true
matrix:
dotnet-version: ["6.0.x", "7.0.x", "8.0.x", "9.0.x"]
framework: ["net6.0", "net7.0", "net8.0", "net9.0"]
config:
- { dotnet-version: "6.0.x", framework: "net6.0" }
- { dotnet-version: "7.0.x", framework: "net7.0" }
- { dotnet-version: "8.0.x", framework: "net8.0" }
- { dotnet-version: "9.0.x", framework: "net9.0" }
steps:
- uses: actions/checkout@v4

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
- name: Setup .NET Core SDK ${{ matrix.config.dotnet-version }}
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet-version }}
dotnet-version: ${{ matrix.config.dotnet-version }}

- name: Build with dotnet
run: dotnet build src/Relewise.Client.Extensions/ --configuration Debug --framework ${{ matrix.framework }}
run: dotnet build src/Relewise.Client.Extensions/ --configuration Debug --framework ${{ matrix.config.framework }}

- name: Unit testing
run: dotnet test

0 comments on commit 451c7da

Please sign in to comment.