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

fix CI setting #1295

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
run: sbt githubWorkflowCheck

- name: Build project (Scala 2)
if: matrix.scala == '2.12.20' || matrix.scala == '2.13.14'
if: matrix.scala == '2.12' || matrix.scala == '2.13'
run: sbt '++ ${{ matrix.scala }}' validateJVM validateJS validateNative

- name: Build project (Scala 3)
if: matrix.scala == '3.3.3'
if: matrix.scala == '3'
run: sbt '++ ${{ matrix.scala }}' validateJVM30 validateJS30 validateNative30

- name: Codecov
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ ThisBuild / githubWorkflowBuild :=
WorkflowStep.Sbt(
List("validateJVM", "validateJS", "validateNative"),
name = Some("Build project (Scala 2)"),
cond = Some(s"matrix.scala == '$Scala_2_12' || matrix.scala == '$Scala_2_13'")
cond = Some(s"matrix.scala == '2.12' || matrix.scala == '2.13'")
),
WorkflowStep.Sbt(
List("validateJVM30", "validateJS30", "validateNative30"),
name = Some("Build project (Scala 3)"),
cond = Some(s"matrix.scala == '$Scala_3'")
cond = Some(s"matrix.scala == '3'")
),
WorkflowStep.Use(UseRef.Public("codecov", "codecov-action", "v1"), name = Some("Codecov"))
)
Expand Down
Loading