Skip to content

Pin JUnit to 5.x for Scala Steward#999

Merged
xerial merged 1 commit into
mainfrom
chore/pin-junit-to-5x
Jun 30, 2026
Merged

Pin JUnit to 5.x for Scala Steward#999
xerial merged 1 commit into
mainfrom
chore/pin-junit-to-5x

Conversation

@xerial

@xerial xerial commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Add .scala-steward.conf pinning junit-jupiter and junit-vintage-engine to the 5.x line.
  • JUnit 6.x requires Java 17 at runtime, but this project still targets Java 8 bytecode (javacOptions += -source 1.8 -target 1.8 in build.sbt) and CI tests against JDK 8 in the matrix.
  • Closes the situation behind Update junit-jupiter to 6.1.1 #994 and Update junit-vintage-engine to 6.1.1 #995 (both closed) so Scala Steward stops re-proposing 6.x bumps until JDK 8 support is dropped.

Test plan

  • CI passes (no behavior change — config-only)

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 <noreply@anthropic.com>
@xerial xerial enabled auto-merge (squash) June 30, 2026 20:19
@xerial xerial merged commit 39ddefd into main Jun 30, 2026
7 checks passed
@xerial xerial deleted the chore/pin-junit-to-5x branch June 30, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant