From 5c7068c665b4434d706c26dd1964e1eb89ac57f8 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:34:45 +0200 Subject: [PATCH 1/7] Adopt shared Scala CI workflow --- .github/workflows/ci.yml | 45 +++++++--------------------------------- project/plugins.sbt | 1 - 2 files changed, 8 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec60537..b6d58a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,42 +1,13 @@ name: CI -on: [push, pull_request] +on: + push: + branches: [ master ] + pull_request: jobs: test: - - runs-on: ubuntu-latest - - strategy: - matrix: - scala: - - 2.13.18 - - 3.3.7 - - steps: - - uses: actions/checkout@v4 - - - uses: coursier/cache-action@v6 - - - name: setup Java 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'oracle' - cache: 'sbt' - - - name: setup SBT - uses: sbt/setup-sbt@v1 - - - name: check code ${{ matrix.scala }} - run: sbt ++${{ matrix.scala }} clean check - - - name: build ${{ matrix.scala }} - run: sbt ++${{ matrix.scala }} clean coverage test - - - name: test coverage - if: success() - run: sbt ++${{ matrix.scala }} coverageAggregate coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_FLAG_NAME: Scala ${{ matrix.scala }} + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@v6 + secrets: inherit + with: + scala_versions: '["2.13.18", "3.3.7"]' diff --git a/project/plugins.sbt b/project/plugins.sbt index 955be92..c6d5aef 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.4.4") -addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.15") addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1") From 7aea917b623e7f366c021284e63997ed6540647c Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:45:45 +0200 Subject: [PATCH 2/7] Collapse blank line left by plugin removal --- project/plugins.sbt | 1 - 1 file changed, 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index c6d5aef..09d13f7 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.4.4") - addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1") addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.0.9") From 2c3122eab7cb99dd701980a06141793a04be8127 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:46:32 +0200 Subject: [PATCH 3/7] Declare binary compatibility intention --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index a15f427..c77e8f9 100644 --- a/build.sbt +++ b/build.sbt @@ -16,6 +16,8 @@ crossScalaVersions := Seq("2.13.18", "3.3.7") scalaVersion := crossScalaVersions.value.head +versionPolicyIntention := Compatibility.BinaryCompatible + publishTo := Some(Resolver.evolutionReleases) libraryDependencies ++= Seq( From 4c98e3261dadebf360dad798c26c491184b21c50 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:50:00 +0200 Subject: [PATCH 4/7] Disable scalafmt check pending config --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6d58a2..95c3f90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,3 +11,5 @@ jobs: secrets: inherit with: scala_versions: '["2.13.18", "3.3.7"]' + # TODO sbt-scalafmt is in plugins.sbt but there is no .scalafmt.conf, so formatting was never checked + scalafmt_check: false From ca98b57b8af1925b44bd542d17341fdbdc017325 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:53:44 +0200 Subject: [PATCH 5/7] Pin shared workflow and drop secrets inherit --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95c3f90..b7eb29a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,7 @@ on: jobs: test: - uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@v6 - secrets: inherit + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@2a389d2a5f4b093e72f738464bd7472bd0c3b4b8 # v6 with: scala_versions: '["2.13.18", "3.3.7"]' # TODO sbt-scalafmt is in plugins.sbt but there is no .scalafmt.conf, so formatting was never checked From d0ef184f60333d5158118c78651a7e407f2a694d Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 22:04:42 +0200 Subject: [PATCH 6/7] Re-pin shared workflow to v6.2.0 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7eb29a..8c51b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: test: - uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@2a389d2a5f4b093e72f738464bd7472bd0c3b4b8 # v6 + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@e9f3a8d1d95e9ed5b762627a28a1ce93fad45f0a # v6.2.0 with: scala_versions: '["2.13.18", "3.3.7"]' # TODO sbt-scalafmt is in plugins.sbt but there is no .scalafmt.conf, so formatting was never checked From 900c33ca45b84934ceb6913dc56a30868014d976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mareks=20Ramp=C4=81ns?= <8796159+mr-git@users.noreply.github.com> Date: Mon, 10 Aug 2026 20:28:41 +0300 Subject: [PATCH 7/7] Update CI workflow to use version 6.3.0 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c51b1e..72f4bdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: test: - uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@e9f3a8d1d95e9ed5b762627a28a1ce93fad45f0a # v6.2.0 + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@dde27b9bd793d41d5aacf8fb74403c9de5da1146 # v6.3.0 with: scala_versions: '["2.13.18", "3.3.7"]' # TODO sbt-scalafmt is in plugins.sbt but there is no .scalafmt.conf, so formatting was never checked