From bb21efe68c5402439c41beb0b01432519af5750e Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:32:21 +0200 Subject: [PATCH 1/4] Adopt shared Scala CI workflow --- .github/workflows/ci.yml | 45 ++++------------------------------------ 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05e2acf..b181118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,44 +7,7 @@ on: jobs: test: - - runs-on: ubuntu-latest - - strategy: - matrix: - scala: - - 3.3.8 - - steps: - - uses: actions/checkout@v7 - - - uses: coursier/cache-action@v8 - - - name: setup Java 17 - uses: actions/setup-java@v5 - with: - java-version: '17' - distribution: 'temurin' - 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; coverageAggregate" - - - name: locate coverage report - id: coverage - if: success() - run: echo "file=$(find . -path '*/coverage-report/cobertura.xml' | head -1)" >> "$GITHUB_OUTPUT" - - - name: test coverage - if: success() - uses: coverallsapp/github-action@v2 - with: - file: ${{ steps.coverage.outputs.file }} - format: cobertura - flag-name: Scala ${{ matrix.scala }} + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@v6 + secrets: inherit + with: + scala_versions: '["3.3.8"]' From d326593aede494af9e0dd43f83ae87bb8b12f8c9 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:46:30 +0200 Subject: [PATCH 2/4] Declare binary compatibility intention --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index fe1b5bb..ce94513 100644 --- a/build.sbt +++ b/build.sbt @@ -5,6 +5,8 @@ publish / skip := true ThisBuild / scalaVersion := Version.scala +ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible + ThisBuild / organization := "com.evolution" ThisBuild / startYear := Some(2022) From 33709e7aa16b90a1c4680b9f63f719d8125ab551 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:53:21 +0200 Subject: [PATCH 3/4] 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 b181118..2bd8fdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ 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: '["3.3.8"]' From aae1ba920b515799c776d4da6503fdd770443f0d Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 22:04:11 +0200 Subject: [PATCH 4/4] 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 2bd8fdd..bda9df6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,6 @@ 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: '["3.3.8"]'