From c61b7ec258f209c674be8b2bdb139d3c130421c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Wed, 4 Aug 2021 10:11:22 +0200 Subject: [PATCH] Drop support for Scala.js 0.6.x. And therefore for Scala 2.10.x. --- .github/workflows/ci.yml | 10 +--------- build.sbt | 6 +----- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7668d23db..c81d9d976 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,15 +12,7 @@ jobs: strategy: fail-fast: false matrix: - scalaversion: ["2.11.12", "2.12.10", "2.13.1"] - scalajsversion: ["1.x", "0.6.x"] - include: - - scalaversion: "2.10.7" - scalajsversion: "0.6.x" - - scalaversion: "3.0.1" - scalajsversion: "1.x" - env: - SCALAJS_VERSION: "${{ matrix.scalajsversion == '0.6.x' && '0.6.28' || '' }}" + scalaversion: ["2.11.12", "2.12.10", "2.13.1", "3.0.1"] steps: - uses: actions/checkout@v2 - uses: olafurpg/setup-scala@v10 diff --git a/build.sbt b/build.sbt index fee60ffa2..e2dc6c782 100644 --- a/build.sbt +++ b/build.sbt @@ -5,10 +5,7 @@ lazy val root = project.in(file(".")). name := "Scala.js DOM" -ThisBuild / crossScalaVersions := { - if (scalaJSVersion.startsWith("1.")) Seq("2.12.10", "2.11.12", "2.13.1", "3.0.1") - else Seq("2.12.10", "2.11.12", "2.10.7", "2.13.1") -} +ThisBuild / crossScalaVersions := Seq("2.12.10", "2.11.12", "2.13.1", "3.0.1") ThisBuild / scalaVersion := crossScalaVersions.value.head val commonSettings = Seq( @@ -36,7 +33,6 @@ scalacOptions ++= { } def hasNewCollections(version: String): Boolean = { - !version.startsWith("2.10.") && !version.startsWith("2.11.") && !version.startsWith("2.12.") }