Skip to content

Add reusable Scala CI workflow - #3

Merged
stasimus merged 1 commit into
mainfrom
add-scala-ci-workflow
Aug 7, 2026
Merged

Add reusable Scala CI workflow#3
stasimus merged 1 commit into
mainfrom
add-scala-ci-workflow

Conversation

@stasimus

@stasimus stasimus commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Adds a ci.yml reusable workflow so projects stop hand-rolling CI. Runs tests, coverage, binary compatibility, formatting and scaladoc, with inputs for Scala/Java versions and per-check toggles.

Coverage runs before the other checks and disables sbt 2's disk cache: neither is keyed on scoverage instrumentation, so a cached or earlier plain compile silently yields an empty report. The workflow fails if the cobertura report has no valid lines.

Binary compatibility and formatting run as explicit tasks, not via a check alias that can be stubbed out.

Pilots: evolution-gaming/smetrics#adopt-shared-ci, evolution-gaming/cats-helper#adopt-shared-ci

@stasimus
stasimus merged commit df78810 into main Aug 7, 2026
1 check passed
@stasimus
stasimus deleted the add-scala-ci-workflow branch August 7, 2026 18:40
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