Skip to content

Commit

Permalink
Update codecov-action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Oct 7, 2024
1 parent 0e04fa5 commit f42de66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
run: sbt '++ ${{ matrix.scala }}' validateJVM30 validateJS30 validateNative30

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

- name: Make target directories
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ ThisBuild / githubWorkflowBuild :=
name = Some("Build project (Scala 3)"),
cond = Some(s"matrix.scala == '3'")
),
WorkflowStep.Use(UseRef.Public("codecov", "codecov-action", "v1"), name = Some("Codecov"))
WorkflowStep.Use(
ref = UseRef.Public("codecov", "codecov-action", "v4"),
name = Some("Codecov"),
env = Map("CODECOV_TOKEN" -> "${{ secrets.CODECOV_TOKEN }}")
)
)
ThisBuild / mergifyPrRules := {
val authorCondition = MergifyCondition.Or(
Expand Down

0 comments on commit f42de66

Please sign in to comment.