Skip to content

Update sbt-scalafmt to 2.6.2 - #655

Merged
scala-steward-wvlet[bot] merged 1 commit into
mainfrom
update/sbt-scalafmt-2.6.2
Jul 18, 2026
Merged

Update sbt-scalafmt to 2.6.2#655
scala-steward-wvlet[bot] merged 1 commit into
mainfrom
update/sbt-scalafmt-2.6.2

Conversation

@scala-steward-wvlet

Copy link
Copy Markdown
Contributor

About this PR

📦 Updates org.scalameta:sbt-scalafmt from 2.6.1 to 2.6.2

📜 GitHub Release Notes - Version Diff

Usage

Please merge!

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

⚙ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "sbt-scalafmt" }
}]
labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

@scala-steward-wvlet
scala-steward-wvlet Bot enabled auto-merge (squash) July 18, 2026 01:45
@scala-steward-wvlet
scala-steward-wvlet Bot merged commit e9b95e2 into main Jul 18, 2026
15 of 16 checks passed
@scala-steward-wvlet
scala-steward-wvlet Bot deleted the update/sbt-scalafmt-2.6.2 branch July 18, 2026 01:48
xerial added a commit that referenced this pull request Jul 20, 2026
…t job (#657)

## Why

The scalafmt 3.11.4 / sbt-scalafmt 2.6.2 bumps (#654, #655) auto-merged
and left main red: the `sbt-uni-crossproject scripted test` job failed
because `CrossProjectMacro.scala` was no longer formatted per the new
scalafmt version.

Root cause: the plugin sub-builds (`sbt-uni`, `sbt-uni-playwright`,
`sbt-uni-crossproject`) have their own `.scalafmt.conf` that the root
`./sbt scalafmtCheckAll` never sees. Their formatting is only checked
inside the scripted-test jobs, which are **not** required status checks
— so a failing format check there can't block auto-merge.

## What

- Run `scalafmtCheckAll` for each plugin sub-build inside the `Code
format` job, which **is** a required status check, so format drift in
the sub-builds now blocks merge.
- Reformat `CrossProjectMacro.scala` for scalafmt 3.11.4 to turn main
green again.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01XinmPeK4Mmcwzvu5ViJoHY

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant