build(deps): bump xunit.assert and xunit #1561
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
matrix: | |
platform: [ windows-latest, ubuntu-latest, macos-14 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8.0 and 9.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
9.0.x | |
- name: Install dependencies | |
run: dotnet restore Messaging.sln | |
- name: Build | |
run: dotnet build Messaging.sln --configuration Release --no-restore | |
- name: Unit tests | |
run: | | |
dotnet test "./test/Helsenorge.Messaging.Tests/Helsenorge.Messaging.Tests.csproj" | |
dotnet test "./test/Helsenorge.Registries.Tests/Helsenorge.Registries.Tests.csproj" | |
dotnet test "./test/Helsenorge.Messaging.AdminLib.Tests/Helsenorge.Messaging.AdminLib.Tests.csproj" |