Skip to content

Commit 5d75470

Browse files
committed
compile before running tests
1 parent baabc17 commit 5d75470

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Check that workflows are up to date
5353
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
5454

55-
- run: sbt '++ ${{ matrix.scala }}' test docs/mdoc mimaReportBinaryIssues
55+
- run: sbt '++ ${{ matrix.scala }}' clean compile test docs/mdoc mimaReportBinaryIssues
5656

5757
- name: Compress target directories
5858
run: tar cf targets.tar oauth2-jsoniter/jvm/target oauth2/js/target oauth2-cache/js/target oauth2-cache-ce2/target oauth2-cache-zio/target oauth2-jsoniter/js/target target oauth2-cache-scalacache/target mdoc/target oauth2-circe/jvm/target oauth2-cache-cats/target oauth2-cache-future/jvm/target oauth2-circe/js/target oauth2-cache/jvm/target oauth2-cache-future/js/target oauth2/jvm/target project/target

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ThisBuild / scalaVersion := Scala213
2929
ThisBuild / crossScalaVersions := Seq(Scala212, Scala213, Scala3)
3030
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.graalvm(Graalvm.Distribution("graalvm-community"), "17"))
3131
ThisBuild / githubWorkflowBuild := Seq(
32-
WorkflowStep.Sbt(List("test", "docs/mdoc", "mimaReportBinaryIssues"))
32+
WorkflowStep.Sbt(List("clean", "compile", "test", "docs/mdoc", "mimaReportBinaryIssues"))
3333
) // NOTE those run separately for every ScalaVersion in `crossScalaVersions`
3434

3535
//sbt-ci-release settings

0 commit comments

Comments
 (0)