diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67518a44..9deb8b86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - uses: olafurpg/setup-scala@v14 with: java-version: 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: java-version: 21 - - 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..cf4965ce 100644 --- a/src/sbt-test/skip-windows/caching/test +++ b/src/sbt-test/skip-windows/caching/test @@ -1,3 +1,7 @@ +# make sure unmangaedSources does not silently exclude chmoded files on recent JDKs +# (because of all 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