Update .NET Core version from 8.0.x to 9.0.x #164
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 & Run Tests (.NET Core) | |
| on: | |
| push: | |
| branches: [ master, dev ] | |
| pull_request: | |
| branches: [ master, dev ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| dotnet-version: | | |
| 9.0.x | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - name: Build .NET Core | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Test .NET Core | |
| run: dotnet test --no-restore --verbosity normal --logger:nunit | |
| - name: Publish Test Results | |
| uses: MirrorNG/nunit-reporter@v1.1.0 | |
| if: always() | |
| with: | |
| path: SimcProfileParser.Tests/TestResults/*.xml | |
| access-token: ${{ secrets.GITHUB_TOKEN }} |