Update to .NET 10.0 and modernize project targets (#904) #976
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 | |
| on: | |
| push: | |
| paths: | |
| - 'src/**' | |
| - '.github/workflows/**' | |
| branches: [ main ] | |
| pull_request: | |
| paths: | |
| - 'src/**' | |
| - '.github/workflows/**' | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup .NET 10.0 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore dependencies | |
| working-directory: ./src | |
| run: dotnet restore | |
| - name: Build | |
| working-directory: ./src | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Test | |
| working-directory: ./src | |
| run: | | |
| dotnet test --configuration Release --no-restore --no-build --verbosity normal |