Update dependency TUnit to 1.40.10 #817
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
| # ------------------------------------------------------------------------------ | |
| # <auto-generated> | |
| # | |
| # This code was generated. | |
| # | |
| # - To turn off auto-generation set: | |
| # | |
| # [GitHubActions (AutoGenerate = false)] | |
| # | |
| # - To trigger manual generation invoke: | |
| # | |
| # nuke --generate-configuration GitHubActions_BuildOnly --host GitHubActions | |
| # | |
| # </auto-generated> | |
| # ------------------------------------------------------------------------------ | |
| name: BuildOnly | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| windows-latest: | |
| name: windows-latest | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET (With cache) | |
| uses: actions/setup-dotnet@v5.2.0 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| dotnet-quality: 'preview' | |
| cache: true | |
| cache-dependency-path: | | |
| **/Directory.Packages.props | |
| **/*.slnx | |
| **/*.csproj | |
| **/global.json | |
| **/nuget.config | |
| - name: NBGV | |
| id: nbgv | |
| uses: dotnet/nbgv@master | |
| with: | |
| setAllVars: true | |
| - run: echo 'SemVer2=${{ steps.nbgv.outputs.SemVer2 }}' | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v3 | |
| with: | |
| vs-prerelease: true | |
| - name: 'Cache: .nuke/temp, ~/.nuget/packages' | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| .nuke/temp | |
| ~/.nuget/packages | |
| key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} | |
| - name: 'Run: Compile' | |
| run: ./build.cmd Compile | |
| - name: Tests + Coverage (MTP) | |
| shell: bash | |
| working-directory: 'src' | |
| run: | | |
| dotnet test --solution Extensions.Hosting.slnx \ | |
| --no-build \ | |
| --configuration Release \ | |
| --coverage \ | |
| --coverage-output-format cobertura \ | |
| --results-directory ./TestResults | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: tmp-coverage | |
| path: | | |
| ./**/TestResults/**/*.cobertura.xml | |
| if-no-files-found: warn | |
| retention-days: 3 |