Update dependency Cake.Codecov to v6 #1850
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: Integration tests | |
| # Workflow Trigger | |
| on: | |
| # Trigger the workflow on a pull request to any branch, ignoring changes to /docs | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| # Trigger the workflow on pushes to the master branch, ignoring changes to /docs | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'docs/**' | |
| jobs: | |
| # Build | |
| Build: | |
| name: Build | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Fetch all tags and branches | |
| run: git fetch --prune --unshallow | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 | |
| with: | |
| # .NET 5 required for GitVersion | |
| # .NET 7 required for Cake.Recipe | |
| dotnet-version: | | |
| 5.x | |
| 7.x | |
| 8.x | |
| 9.x | |
| 10.x | |
| - name: Build | |
| run: ./build.sh --target=Create-NuGet-Packages | |
| shell: bash | |
| - name: Publish NuGet package as build artifact | |
| uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 | |
| with: | |
| name: NuGet Package | |
| path: ./BuildArtifacts/Packages/NuGet/ | |
| # Integration Tests Cake.Issues.GitRepository | |
| IntegrationTestsGitRepositoryCakeScripting: | |
| name: Integration Tests Cake.Issues.GitRepository Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| lfs: true | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.GitRepository/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Markdownlint | |
| IntegrationTestsMarkdownlintCakeScripting: | |
| name: Integration Tests Cake.Issues.Markdownlint Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Install Markdownlint | |
| uses: ./.github/actions/install-markdownlint | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Markdownlint/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.MsBuild Cake Scripting | |
| IntegrationTestsMsBuildCakeScripting: | |
| name: Integration Tests Cake.Issues.MsBuild Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 9.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.MsBuild/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.BuildServer.GitHubActions Cake Scripting | |
| IntegrationTestsBuildServerGitHubActionsCakeScripting: | |
| name: Integration Tests Cake.Issues.BuildServer.GitHubActions Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 9.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.BuildServer.GitHubActions/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Console Cake Scripting | |
| IntegrationTestsReportingConsoleCakeScripting: | |
| name: Integration Tests Cake.Issues.Reporting.Console Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Console/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Console Cake Frosting | |
| IntegrationTestsReportingConsoleCakeFrosting: | |
| name: Integration Tests Cake.Issues.Reporting.Console Frosting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Console/frosting/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Generic Cake Scripting | |
| IntegrationTestsReportingGenericCakeScripting: | |
| name: Integration Tests Cake.Issues.Reporting.Generic Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Generic/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Generic Cake Frosting | |
| IntegrationTestsReportingGenericCakeFrosting: | |
| name: Integration Tests Cake.Issues.Reporting.Generic Cake Frosting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Generic/frosting/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Sarif Cake Scripting | |
| IntegrationTestsReportingSarifCakeScripting: | |
| name: Integration Tests Cake.Issues.Reporting.Sarif Cake Scripting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Sarif/script-runner/${{ env.TFM }} | |
| shell: bash | |
| # Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting | |
| IntegrationTestsReportingSarifCakeFrosting: | |
| name: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting | |
| needs: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ | |
| windows-2022, windows-2025, | |
| ubuntu-22.04, ubuntu-24.04, | |
| macos-14, macos-15] | |
| dotnet: [8.x, 9.x, 10.x] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Prepare integration tests | |
| uses: ./.github/actions/prepare-integration-test | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Run integration tests | |
| run: ./build.sh --verbosity=diagnostic | |
| working-directory: ./tests/Cake.Issues.Reporting.Sarif/frosting/${{ env.TFM }} | |
| shell: bash | |