Skip to content

Commit

Permalink
Merge pull request #532 from fthomas/update/codecov-v4
Browse files Browse the repository at this point in the history
Update codecov-action to v4
  • Loading branch information
fthomas authored Oct 5, 2024
2 parents a563abc + a0cf84d commit 23a73b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ jobs:
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' coverage test coverageReport

- name: Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
Expand Down
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ ThisBuild / githubWorkflowBuild ++= Seq(
cond = Some(s"matrix.scala != '3'")
),
WorkflowStep.Use(
ref = UseRef.Public("codecov", "codecov-action", "v3"),
name = Some("Codecov")
ref = UseRef.Public("codecov", "codecov-action", "v4"),
name = Some("Codecov"),
env = Map("CODECOV_TOKEN" -> "${{ secrets.CODECOV_TOKEN }}")
)
)
ThisBuild / mergifyPrRules := {
Expand Down

0 comments on commit 23a73b5

Please sign in to comment.