Skip to content

Commit

Permalink
Drop 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffffect committed May 28, 2024
1 parent 4dde710 commit 0c46a0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
scala: [2.12, 2.13, 3]
scala: [2.13, 3]
java: [temurin@11, temurin@17]
project: [rootJS, rootJVM, rootNative]
exclude:
- scala: 2.12
java: temurin@17
- scala: 3
java: temurin@17
- project: rootJS
Expand Down Expand Up @@ -161,36 +159,6 @@ jobs:
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt +update

- name: Download target directories (2.12, rootJS)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJS

- name: Inflate target directories (2.12, rootJS)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12, rootJVM)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJVM

- name: Inflate target directories (2.12, rootJVM)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12, rootNative)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootNative

- name: Inflate target directories (2.12, rootNative)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.13, rootJS)
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -318,5 +286,5 @@ jobs:
- name: Submit Dependencies
uses: scalacenter/sbt-dependency-submission@v2
with:
modules-ignore: rootjs_2.12 rootjs_2.13 rootjs_3 rootjvm_2.12 rootjvm_2.13 rootjvm_3 rootnative_2.12 rootnative_2.13 rootnative_3
modules-ignore: rootjs_2.13 rootjs_3 rootjvm_2.13 rootjvm_3 rootnative_2.13 rootnative_3
configs-ignore: test scala-tool scala-doc-tool test-internal
5 changes: 1 addition & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ val Versions = new {
val snakeYamlEngine = "2.7"
val previousCirceYamls = Set("0.14.0", "0.14.1", "0.14.2")

val scala212 = "2.12.19"
val scala213 = "2.13.13"
val scala3 = "3.3.3"

val scalaVersions = Seq(scala212, scala213, scala3)
val scalaVersions = Seq(scala213, scala3)
}

ThisBuild / scalaVersion := Versions.scala213
Expand Down Expand Up @@ -79,8 +78,6 @@ lazy val `circe-yaml-scalayaml` = crossProject(JSPlatform, JVMPlatform, NativePl
.dependsOn(`circe-yaml-common`)
.settings(
description := "Library for converting between scala-yaml AST and circe's AST",
scalaVersion := Versions.scala213,
crossScalaVersions := Versions.scalaVersions.filterNot(_ == Versions.scala212),
libraryDependencies ++= Seq(
"org.virtuslab" %%% "scala-yaml" % "0.0.8",
"org.scalatest" %%% "scalatest" % Versions.scalaTest % Test
Expand Down

0 comments on commit 0c46a0e

Please sign in to comment.