Skip to content

Commit

Permalink
Update build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Romfos authored Oct 2, 2023
1 parent a5b9d4e commit 5ee23c0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build -c Release --no-restore
run: dotnet build --no-restore

- name: Test
run: dotnet test -c Release -f net6.0 --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal

0 comments on commit 5ee23c0

Please sign in to comment.