Skip to content

Commit

Permalink
Bump codecov/codecov-action from 4.6.0 to 5.3.1 (#1097)
Browse files Browse the repository at this point in the history
* 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](codecov/codecov-action@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] <[email protected]>

* Remove token

* Add .NET setup step to GitHub workflows

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Isaac Daly <[email protected]>
  • Loading branch information
dependabot[bot] and dalyIsaac authored Feb 9, 2025
1 parent 980a7e2 commit 8f9d407
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -108,6 +113,4 @@ jobs:
dotnet test Whim.sln --collect:"XPlat Code Coverage;Format=opencover"
- name: Upload coverage to Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/[email protected]
5 changes: 5 additions & 0 deletions .github/workflows/docs_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8f9d407

Please sign in to comment.