Skip to content

Commit

Permalink
Merge pull request #228 from http4s/pr/fix-scalafix-step
Browse files Browse the repository at this point in the history
Fix condition in scalafix step
  • Loading branch information
armanbilge authored Aug 21, 2023
2 parents 4b94a3a + 92f7a3b commit 5b9eeee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
run: sbt '++ ${{ matrix.scala }}' doc

- name: Check scalafix lints
if: matrix.java == 'temurin@8' && !startsWith(matrix.scala, '3.')
if: matrix.java == 'temurin@8' && !startsWith(matrix.scala, '3')
run: sbt '++ ${{ matrix.scala }}' 'scalafixAll --check'

- name: Check unused compile dependencies
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/http4s/sbt/Http4sOrgPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ object Http4sOrgPlugin extends AutoPlugin {
WorkflowStep.Sbt(
List("scalafixAll --check"),
name = Some("Check scalafix lints"),
cond = Some(s"${primaryJavaCond.value} && !startsWith(matrix.scala, '3.')")
cond = Some(s"${primaryJavaCond.value} && !startsWith(matrix.scala, '3')")
),
WorkflowStep.Sbt(
List("unusedCompileDependenciesTest"),
Expand Down

0 comments on commit 5b9eeee

Please sign in to comment.