chore(deps): update dotnet monorepo #670
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: | | |
| 7.x | |
| 8.x | |
| 9.x | |
| - run: dotnet format --verify-no-changes | |
| - run: dotnet format --verify-no-changes | |
| working-directory: snapshots/input/syntax | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: | | |
| 6.x | |
| 7.x | |
| 8.x | |
| 9.x | |
| - run: dotnet test -p:TargetFrameworks=net9.0 | |
| - run: dotnet test -p:TargetFrameworks=net8.0 | |
| - run: dotnet test -p:TargetFrameworks=net7.0 | |
| - run: dotnet test -p:TargetFrameworks=net6.0 |