diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45fc1fd..82490c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,12 @@ jobs: name: Build and Test strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-13, macos-latest] scala: [2.12.19, 2.13.13, 3.3.3] java: [temurin@8, temurin@11, temurin@17, temurin@21] + exclude: + - java: temurin@8 + os: macos-latest runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) diff --git a/build.sbt b/build.sbt index f3471cc..96a5c1c 100644 --- a/build.sbt +++ b/build.sbt @@ -198,7 +198,11 @@ ThisBuild / githubWorkflowPublishTargetBranches := RefPredicate.Equals(Ref.Branch("main")) ) -ThisBuild / githubWorkflowOSes := Seq("ubuntu-latest", "macos-latest") +ThisBuild / githubWorkflowOSes := Seq("ubuntu-latest", "macos-13", "macos-latest") + + +ThisBuild / githubWorkflowBuildMatrixExclusions += + MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")) ThisBuild / githubWorkflowJavaVersions := List( JavaSpec.temurin("8"),