From 8f9d40796d127136b7c8368853b3338b221f44d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 9 Feb 2025 18:36:54 +1100 Subject: [PATCH] Bump codecov/codecov-action from 4.6.0 to 5.3.1 (#1097) * Bump codecov/codecov-action from 4.6.0 to 5.3.1 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.3.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4.6.0...v5.3.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Remove token * Add .NET setup step to GitHub workflows --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Isaac Daly --- .github/workflows/commit.yml | 9 ++++++--- .github/workflows/docs_commit.yml | 5 +++++ .github/workflows/docs_deploy.yml | 5 +++++ .github/workflows/release.yml | 15 ++++----------- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 784a0b379..3b0bca27f 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -57,6 +57,11 @@ jobs: ${{ matrix.platform }}-nuget-${{ hashFiles('Directory.Packages.props') }} ${{ matrix.platform }}-nuget- + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies run: | dotnet restore Whim.sln -p:Configuration=$env:Configuration @@ -108,6 +113,4 @@ jobs: dotnet test Whim.sln --collect:"XPlat Code Coverage;Format=opencover" - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.6.0 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v5.3.1 diff --git a/.github/workflows/docs_commit.yml b/.github/workflows/docs_commit.yml index 805baabae..d5ddaa36b 100644 --- a/.github/workflows/docs_commit.yml +++ b/.github/workflows/docs_commit.yml @@ -47,6 +47,11 @@ jobs: ${{ env.PLATFORM }}-nuget-${{ hashFiles('Directory.Packages.props') }} ${{ env.PLATFORM }}-nuget- + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies run: | dotnet restore Whim.sln -p:Configuration=$env:Configuration diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index 8db84333a..c7850988a 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -45,6 +45,11 @@ jobs: ${{ env.PLATFORM }}-nuget-${{ hashFiles('Directory.Packages.props') }} ${{ env.PLATFORM }}-nuget- + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies run: | dotnet restore Whim.sln -p:Configuration=$env:Configuration diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 227ea4806..42ba4dd33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,17 +75,10 @@ jobs: ${{ matrix.platform }}-nuget-${{ hashFiles('Directory.Packages.props') }} ${{ matrix.platform }}-nuget- - - name: Get variables - shell: pwsh - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - $channel, $isPrerelease = .\scripts\Get-Channel.ps1 - $currentRelease = .\scripts\Get-CurrentWhimRelease.ps1 -Channel $channel - $version = "v${currentRelease}" - - "CurrentRelease=${currentRelease}" >> $env:GITHUB_ENV - "Version=${version}" >> $env:GITHUB_ENV + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x - name: Restore dependencies run: |