Add .NET 10 to test matrix #137
Workflow file for this run
This file contains hidden or 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, Test, and Format verification | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-latest, macOS-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 10.0.x | |
| 9.0.x | |
| 8.0.x | |
| - name: Build | |
| run: dotnet build | |
| - name: .NET Framework Tests | |
| if: matrix.os == 'windows-latest' | |
| run: dotnet test -f net462 --no-build --no-restore --no-progress | |
| - name: .NET 8 Tests | |
| run: dotnet test -f net8.0 --no-build --no-restore --no-progress | |
| - name: .NET 9 Tests | |
| run: dotnet test -f net9.0 --no-build --no-restore --no-progress | |
| - name: .NET 10 Tests | |
| run: dotnet test -f net10.0 --no-build --no-restore --no-progress | |
| format-verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Format | |
| run: dotnet format --verify-no-changes |