Skip to content

Modernize#1

Merged
guizmaii merged 6 commits into
masterfrom
update_0
Apr 13, 2026
Merged

Modernize#1
guizmaii merged 6 commits into
masterfrom
update_0

Conversation

@guizmaii
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 13, 2026 09:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the build/tooling setup for the Scala project: upgrading sbt/plugins, adding Scalafmt/Scalafix configuration, moving CI/release automation to GitHub Actions, and updating a few source/test files to match the new toolchain.

Changes:

  • Replaces Travis/Codecov-era setup with GitHub Actions workflows (CI, release, release-drafter, Scala Steward) and Dependabot for actions.
  • Upgrades sbt and sbt plugins; adds shared build settings via project/BuildHelper.scala.
  • Updates Scala dependencies and reformats/adjusts a few Scala sources and tests.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
version.sbt Removes hardcoded build version file.
README.md Removes old CI/code coverage badges.
project/plugins.sbt Updates sbt plugin set (scalafmt/scalafix/tpolecat/ci-release/etc.).
project/BuildHelper.scala Adds centralized build settings helpers (javac/scalac/tpolecat/no-doc).
project/build.properties Upgrades sbt version.
build.sbt Updates org/Scala version, deps, settings, aliases; introduces BuildHelper usage.
core/src/main/.../ConcurrentConstantMemoryExcel.scala Minor refactors + import/style changes.
core/src/main/.../KantanExtension.scala Adjusts array row encoding implementation.
core/src/test/.../ConcurrentConstantMemoryExcelSpec.scala Migrates to AnyFlatSpec + adds suppression annotation.
.travis.yml Removes Travis CI configuration.
.scalafmt.conf Replaces minimal config with more extensive scalafmt configuration.
.scalafix.conf Adds scalafix configuration/rules.
.jvmopts Adds JVM options for sbt/JDK behavior.
.github/workflows/ci.yaml Adds CI (test + formatting) workflow.
.github/workflows/release.yml Adds publishing workflow via sbt ci-release.
.github/workflows/draft.yml Adds Release Drafter workflow.
.github/workflows/scala-steward.yml Adds Scala Steward automation workflow.
.github/release-drafter.yml Adds release notes templating/labeling rules.
.github/dependabot.yml Enables Dependabot for GitHub Actions updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread project/BuildHelper.scala
Comment thread .scalafmt.conf
Comment thread .scalafix.conf
// See: https://scalacenter.github.io/scalafix/docs/rules/OrganizeImports.html#intellij_2020_3
OrganizeImports {
preset = INTELLIJ_2020_3
targetDialect = Scala3
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

Scalafix is configured with targetDialect = Scala3, which can rewrite imports/syntax to Scala 3 forms even though the build uses Scala 2.13. This is likely to introduce non-compiling rewrites; align targetDialect with the actual Scala version (or migrate to Scala 3).

Suggested change
targetDialect = Scala3
targetDialect = Scala213

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yaml Outdated
Comment thread project/plugins.sbt Outdated
guizmaii and others added 4 commits April 13, 2026 19:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Jules Ivanic <jules.ivanic@gmail.com>
@guizmaii guizmaii merged commit 9890718 into master Apr 13, 2026
4 of 5 checks passed
@guizmaii guizmaii deleted the update_0 branch April 13, 2026 09:46
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