Skip to content

Commit

Permalink
Bump codecov/codecov-action from 3.1.4 to 4.0.0
Browse files Browse the repository at this point in the history
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3.1.4...v4.0.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Feb 1, 2024
1 parent 1abfcd3 commit 29c0e54
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
name: Build & Test

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test with coverage
run: dotnet test --collect:"XPlat Code Coverage"

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

# - name: Analyze with SonarCloud
# uses: SonarSource/sonarcloud-github-action@db501078e936e4b4c8773d1bb949ba9ddb7b6b6a
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# with:
# args:
# -Dsonar.projectKey=BillChirico_GolfClapBot
# -Dsonar.organization=billchirico

name: Build & Test

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test with coverage
run: dotnet test --collect:"XPlat Code Coverage"

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

# - name: Analyze with SonarCloud
# uses: SonarSource/sonarcloud-github-action@db501078e936e4b4c8773d1bb949ba9ddb7b6b6a
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# with:
# args:
# -Dsonar.projectKey=BillChirico_GolfClapBot
# -Dsonar.organization=billchirico

0 comments on commit 29c0e54

Please sign in to comment.