From 65fedbfcca24507536cfddee03713c016288b2ca Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Tue, 30 Jun 2026 13:19:33 -0700 Subject: [PATCH] Pin JUnit to 5.x for Scala Steward JUnit 6.x requires Java 17 at runtime, but this project still targets Java 8 bytecode and CI tests against JDK 8. Pin junit-jupiter and junit-vintage-engine to the 5.x line so Scala Steward stops proposing 6.x bumps until JDK 8 support is dropped. Co-Authored-By: Claude Opus 4.7 --- .scala-steward.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .scala-steward.conf diff --git a/.scala-steward.conf b/.scala-steward.conf new file mode 100644 index 00000000..7f143b54 --- /dev/null +++ b/.scala-steward.conf @@ -0,0 +1,8 @@ +# JUnit 6.x requires Java 17 at runtime, but this project still targets and +# tests on JDK 8 (see javacOptions in build.sbt and the test matrix in +# .github/workflows/CI.yml). Pin JUnit to the 5.x line until JDK 8 support is +# dropped. +updates.pin = [ + { groupId = "org.junit.jupiter", artifactId = "junit-jupiter", version = "5." }, + { groupId = "org.junit.vintage", artifactId = "junit-vintage-engine", version = "5." } +]