diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbb44de7..a5eaa6fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - uses: coursier/setup-action@v1 with: jvm: temurin:17 - - run: sbt "test; scripted sbt-scalafix/*" + - run: sbt "test; scripted sbt-*/* skip-windows/*" jdk21: name: JDK21 tests runs-on: ubuntu-latest @@ -40,7 +40,7 @@ jobs: - uses: olafurpg/setup-scala@v14 with: jvm: temurin:17 - - run: sbt "test; scripted sbt-scalafix/*" + - run: sbt "test; scripted sbt-*/* skip-windows/*" windows: name: Windows tests runs-on: windows-latest diff --git a/src/sbt-test/skip-windows/caching/test b/src/sbt-test/skip-windows/caching/test index 4a7e7b36..e51710c0 100644 --- a/src/sbt-test/skip-windows/caching/test +++ b/src/sbt-test/skip-windows/caching/test @@ -1,3 +1,7 @@ +# make sure unmanagedSources does not silently exclude 000-chmoded files on recent +# sbt versions (where input files are stamped with Hash by default) +> set unmanagedSources / inputFileStamper := sbt.nio.FileStamper.LastModified + # a re-run after a no-op, successful run should be cached > set scalafixConfig := Some(file("files/DisableSyntaxNull.scalafix.conf")) $ mkdir src/main/scala