From 218c9d5809af5e4bcb2ef032fcf23fc934865670 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:34:49 +0200 Subject: [PATCH 1/5] Adopt shared Scala CI workflow --- .github/workflows/ci.yml | 54 ++++++---------------------------------- project/plugins.sbt | 1 - 2 files changed, 8 insertions(+), 47 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32fb3cb..bbf9cc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,51 +1,13 @@ name: CI -on: [push, pull_request] +on: + push: + branches: [ master ] + pull_request: jobs: test: - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - scala: - - 3.3.0 - - 2.13.11 - - 2.12.18 - - steps: - - uses: actions/checkout@v4 - - - uses: coursier/cache-action@v6 - - - name: Setup Java - uses: actions/setup-java@v4 - with: - java-version: "17" - distribution: "oracle" - cache: "sbt" - - - name: setup SBT - uses: sbt/setup-sbt@v1 - - - name: Check code formatting - run: sbt 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 }} - - - name: slack - uses: homoluctus/slatify@master - if: failure() && github.ref == 'refs/heads/master' - with: - type: ${{ job.status }} - job_name: Build - url: ${{ secrets.SLACK_WEBHOOK }} + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@v6 + secrets: inherit + with: + scala_versions: '["3.3.0", "2.13.11", "2.12.18"]' diff --git a/project/plugins.sbt b/project/plugins.sbt index 4360632..f814b0e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8") -addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.15") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.3") From 7cf999c284cef56c69c3b862e4ca0b816e548ee2 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:45:46 +0200 Subject: [PATCH 2/5] 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 f814b0e..be65d29 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,5 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8") - addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.3") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") From cba90a6514811184fda4e70290494fc0c9120eaf Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 21:53:46 +0200 Subject: [PATCH 3/5] 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 bbf9cc7..1a46975 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.0", "2.13.11", "2.12.18"]' From abddd3d152f5fc3dd93cd57402021bdabd7fe4f9 Mon Sep 17 00:00:00 2001 From: sshevchenko Date: Fri, 7 Aug 2026 22:04:45 +0200 Subject: [PATCH 4/5] 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 1a46975..a19591d 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.0", "2.13.11", "2.12.18"]' From 2c121cba636e235545e19fb35447ff3c32408eaf 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 22:23:34 +0300 Subject: [PATCH 5/5] Update ci.yml --- .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 a19591d..e602b36 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@e9f3a8d1d95e9ed5b762627a28a1ce93fad45f0a # v6.2.0 + uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@dde27b9bd793d41d5aacf8fb74403c9de5da1146 # v6.3.0 with: scala_versions: '["3.3.0", "2.13.11", "2.12.18"]'