Skip to content

Adopt shared Scala CI workflow - #244

Merged
mr-git merged 7 commits into
masterfrom
adopt-shared-ci
Aug 10, 2026
Merged

Adopt shared Scala CI workflow#244
mr-git merged 7 commits into
masterfrom
adopt-shared-ci

Conversation

@stasimus

@stasimus stasimus commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Replaces the hand-written ci.yml with a call to the shared workflow, so tests, coverage, binary compatibility, formatting and scaladoc are configured centrally. Same for scalafmt. Also drops the Slack step, which used the archived slatify action.

Checks now run as explicit sbt tasks rather than through the check alias, and checkout is unshallow so versionPolicyCheck has a previous version to compare against.

Part of evolution-gaming/scala-github-actions#5

Summary by CodeRabbit

  • Chores
    • Updated the continuous integration workflow to test against Scala 2.13.18 and 3.3.7.
    • Streamlined automated build validation by using the shared CI workflow.
    • Replaced Coveralls integration with Scoverage-based code coverage reporting.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CI job now delegates to a reusable workflow for Scala 2.13.18 and 3.3.7. Scalafmt checks are disabled. The project replaces sbt-coveralls with sbt-scoverage 2.4.4.

Changes

CI modernization

Layer / File(s) Summary
Reusable CI workflow and coverage tooling
.github/workflows/ci.yml, project/plugins.sbt
CI uses evolution-gaming/scala-github-actions v6.3.0 with the configured Scala versions. sbt-scoverage 2.4.4 replaces sbt-coveralls.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related issues

  • evolution-gaming/scala-github-actions#5 — Tracks the shared CI pipeline rollout implemented by the workflow delegation.

Suggested reviewers: mr-git

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: replacing the handwritten CI configuration with a shared Scala CI workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch adopt-shared-ci

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/ci.yml (1)

13-14: 📐 Maintainability & Code Quality | 🔵 Trivial

Resolve the disabled formatting check.

scalafmt_check: false leaves formatting unvalidated. The TODO is also reported by SonarCloud. Add the required sbt-scalafmt configuration and enable the check, or track the omission in an issue and remove the TODO. I can prepare the formatter configuration.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml around lines 13 - 14, Resolve the disabled
scalafmt_check configuration in the CI workflow by adding the required
sbt-scalafmt setup and enabling formatting validation; alternatively, create a
tracking issue for the omission and remove the TODO comment. Ensure the workflow
no longer silently skips formatting checks.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 12: Update the scala_versions matrix entry to use Scala 3.3.8 instead of
3.3.7, while preserving the existing Scala 2.13.18 value.

---

Nitpick comments:
In @.github/workflows/ci.yml:
- Around line 13-14: Resolve the disabled scalafmt_check configuration in the CI
workflow by adding the required sbt-scalafmt setup and enabling formatting
validation; alternatively, create a tracking issue for the omission and remove
the TODO comment. Ensure the workflow no longer silently skips formatting
checks.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b9a2d8e-b397-49f1-bd47-dae94116c892

📥 Commits

Reviewing files that changed from the base of the PR and between ac09948 and ed1ad39.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • project/plugins.sbt
💤 Files with no reviewable changes (1)
  • project/plugins.sbt

Comment thread .github/workflows/ci.yml
url: ${{ secrets.SLACK_WEBHOOK }}
uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@dde27b9bd793d41d5aacf8fb74403c9de5da1146 # v6.3.0
with:
scala_versions: '["2.13.18", "3.3.7"]'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Test the declared Scala 3.3 cross-build version.

build.sbt declares Scala 3.3.8, but this workflow tests 3.3.7. CI can pass while the supported Scala 3.3.8 target fails. Change this value to 3.3.8.

Proposed fix
-      scala_versions: '["2.13.18", "3.3.7"]'
+      scala_versions: '["2.13.18", "3.3.8"]'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
scala_versions: '["2.13.18", "3.3.7"]'
scala_versions: '["2.13.18", "3.3.8"]'
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 12, Update the scala_versions matrix entry
to use Scala 3.3.8 instead of 3.3.7, while preserving the existing Scala 2.13.18
value.

@mr-git
mr-git merged commit 42beab5 into master Aug 10, 2026
6 checks passed
@mr-git
mr-git deleted the adopt-shared-ci branch August 10, 2026 20:12
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.

2 participants