Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update to codecov-action v4 #363

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
setup:
runs-on: ubuntu-latest
outputs:
scala-versions: ${{ steps.set-scala-versions.outputs.versions }}
scala-versions: ${{ steps.set-scala-versions.outputs.versions }}
steps:
- uses: actions/checkout@v4
- id: set-scala-versions
Expand All @@ -28,34 +28,34 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
java-version: "11"
distribution: "temurin"
cache: "sbt"
- run: sbt ++${{ matrix.scala }} coverage test coverageReport
- run: sbt ++${{ matrix.scala }} examples/run
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true
fail_ci_if_error: false
verbose: true
scalafmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
java-version: "11"
distribution: "temurin"
cache: "sbt"
- run: sbt scalafmtCheckAll
scalafix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
java-version: "11"
distribution: "temurin"
cache: "sbt"
- run: sbt "scalafixAll --check"