Skip to content

Continue-on-error fix --check, with ci alias and CI Markdown report - #374

Merged
alejandrohdezma merged 1 commit into
mainfrom
feat/steps-like-check
May 17, 2026
Merged

Continue-on-error fix --check, with ci alias and CI Markdown report#374
alejandrohdezma merged 1 commit into
mainfrom
feat/steps-like-check

Conversation

@alejandrohdezma

Copy link
Copy Markdown
Owner

🚀 What's included in this PR?

  • fix --check now runs every check even when an earlier one fails, so a single CI run surfaces every formatter/linter violation at once. Exits non-zero if any failed.
  • New ci task as a per-project shorthand for fix --check (my-project/ci works too).
  • When the CI environment variable is set, the run also prints a labelled banner per check, logs a PASS/FAIL summary, and writes a Markdown status table to $GITHUB_STEP_SUMMARY (or target/fix-check-summary.md if unset). Local invocations stay quiet.
  • New NamedCheck wrapper for fixCheckExtra entries. someTask.named("my-linter") (via NamedCheckOps) is the recommended form; the explicit NamedCheck("my-linter", someTask) also works.
  • fix and ci tasks no longer aggregate at the sbt-task level; multi-project coverage is achieved internally via a new .acrossAggregated combinator so a single invocation produces a single plan/summary block.
  • versionPolicyIntention := Compatibility.None for this release (breaking change: fixCheckExtra's element type became NamedCheck).

`fix --check` (and its shorter task alias `ci`) now runs every check even when an earlier one fails so a single CI run surfaces every formatter/linter violation at once. When the `CI` environment variable is set, a Markdown status table is written to `$GITHUB_STEP_SUMMARY` (or `target/fix-check-summary.md` if unset) so the report renders on the GitHub Actions workflow summary page.
@github-actions github-actions Bot added 🚀 feature New feature or improvement ⚖️ M Size of PR between 100 and 500 lines labels May 17, 2026
@alejandrohdezma
alejandrohdezma merged commit de18eb8 into main May 17, 2026
6 checks passed
@alejandrohdezma
alejandrohdezma deleted the feat/steps-like-check branch May 17, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚖️ M Size of PR between 100 and 500 lines 🚀 feature New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant