Skip to content

Commit

Permalink
Drop old Scala versions from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelLipski committed May 6, 2024
1 parent 288ad9f commit 8f8969c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 40 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/standard-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,11 @@ jobs:

- name: Run tests
run: |
sbt "++ 2.12.13 test"
sbt "++ 2.12.14 test"
sbt "++ 2.12.15 test"
sbt "++ 2.12.16 test"
sbt "++ 2.12.17 test"
sbt "++ 2.12.18 test"
test-213-1:
test-213:
runs-on: ubuntu-latest

steps:
Expand All @@ -75,28 +72,6 @@ jobs:

- name: Run tests
run: |
sbt "++ 2.13.2 test"
sbt "++ 2.13.3 test"
sbt "++ 2.13.4 test"
sbt "++ 2.13.5 test"
sbt "++ 2.13.6 test"
sbt "++ 2.13.7 test"
test-213-2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1

- name: Compile
run: sbt compile Test/compile

- name: Run tests
run: |
sbt "++ 2.13.8 test"
sbt "++ 2.13.9 test"
sbt "++ 2.13.10 test"
sbt "++ 2.13.11 test"
sbt "++ 2.13.12 test"
Expand Down Expand Up @@ -140,7 +115,7 @@ jobs:
# <PEKKO-REMOVE-START>
patch-and-push-to-psh:
if: github.event_name != 'pull_request'
needs: [code-style-check, test-212, test-213-1, test-213-2, test-sbt-plugin, run-examples]
needs: [code-style-check, test-212, test-213, test-sbt-plugin, run-examples]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -170,7 +145,7 @@ jobs:
# <PEKKO-REMOVE-END>

publish-maven-artifacts:
needs: [code-style-check, test-212, test-213-1, test-213-2, test-sbt-plugin, run-examples]
needs: [code-style-check, test-212, test-213, test-sbt-plugin, run-examples]
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
Expand Down
19 changes: 7 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,15 @@ initialize ~= { _ =>
lazy val targetScalaVersions = List(scalaVersion213, scalaVersion212)
lazy val testAgainstScalaVersions =
targetScalaVersions ++ List(
"2.12.13",
"2.12.14",
"2.12.15",
"2.12.16",
"2.12.17",
"2.13.2",
"2.13.3",
"2.13.4",
"2.13.5",
"2.13.6",
"2.13.7",
"2.13.8",
"2.13.9",
"2.13.10")
"2.12.18",
"2.13.10",
"2.13.11",
"2.13.12",
"2.13.13",
"2.13.14",
)

ThisBuild / scalaVersion := targetScalaVersions.head
ThisBuild / organization := "org.virtuslab.ash"
Expand Down

0 comments on commit 8f8969c

Please sign in to comment.