Bump the dotnet-dependencies group with 21 updates #679
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: main build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Install Dotnet | |
| uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Dotnet Installation Info | |
| run: dotnet --info | |
| - name: Build | |
| run: dotnet build | |
| # Coverage is only uploaded from the Windows run (see below), so Linux doesn't need --coverage. | |
| # We also skip it on Linux because the test host has been intermittently aborting there with a | |
| # fatal AccessViolationException (exit 134); the native coverage profiler on Linux/.NET 10 is the | |
| # leading suspect (see https://github.com/microsoft/codecoverage/issues/203). Revisit if confirmed/fixed. | |
| - name: Test (Linux) | |
| if: matrix.platform == 'ubuntu-latest' | |
| run: dotnet test Tests/CSharpRepl.Tests/CSharpRepl.Tests.csproj --no-build --results-directory TestResults | |
| - name: Test (Windows, with coverage) | |
| if: matrix.platform == 'windows-latest' | |
| run: dotnet test Tests/CSharpRepl.Tests/CSharpRepl.Tests.csproj --no-build --results-directory TestResults --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml | |
| - name: Report Code Coverage | |
| if: matrix.platform == 'windows-latest' # only generate and upload code coverage once | |
| uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: TestResults/coverage.cobertura.xml |