Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12]
scala: [2.12, 3]
java: [temurin@8]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand Down Expand Up @@ -130,6 +130,16 @@ jobs:
tar xf targets.tar
rm targets.tar

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

- name: Inflate target directories (3)
run: |
tar xf targets.tar
rm targets.tar

- name: Import signing key
if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE == ''
env:
Expand Down Expand Up @@ -188,7 +198,7 @@ jobs:
- name: Submit Dependencies
uses: scalacenter/sbt-dependency-submission@v2
with:
modules-ignore: sbt-tpolecat_2.12
modules-ignore: sbt-tpolecat_2.12 sbt-tpolecat_3
configs-ignore: test scala-tool scala-doc-tool test-internal

validate-steward:
Expand Down
8 changes: 5 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ThisBuild / semanticdbVersion := scalafixSemanticdb.revision

ThisBuild / versionScheme := Some(VersionScheme.EarlySemVer)

ThisBuild / scalaVersion := "2.12.19"
ThisBuild / crossScalaVersions := Seq("2.12.19", "3.3.4")

lazy val `sbt-tpolecat` = project
.in(file("."))
Expand Down Expand Up @@ -55,14 +55,16 @@ lazy val `sbt-tpolecat-plugin` = project
test := {
(Test / test).value
scripted.toTask("").value
}
},
sbtVersion := { if (scalaVersion.value.startsWith("3.")) "2.0.0-M2" else "1.10.2" }
)

lazy val `sbt-tpolecat-scalafix` = scalafixProject("sbt-tpolecat")
.rulesConfigure(project =>
project.settings(
mimaPreviousArtifacts := Set(
)
),
crossScalaVersions := Seq("2.12.19")
)
)
.inputSettings(addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.0"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package org.typelevel.sbt.tpolecat

import sbt.Keys._
import sbt.{ScalaVersion => _, _}
import sbt.{ScalaVersion => _, given, _}

import scala.util.Try
import org.typelevel.scalacoptions._
Expand Down
Loading