diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f1c7445..6a7cdce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,15 +19,15 @@ jobs: java-version: '17' cache: 'sbt' - name: Check with Scalafmt - run: sbt ++2.13.14 fmtCheck + run: sbt ++2.13.15 fmtCheck build: name: Test needs: format strategy: matrix: scala: - - 2.13.14 - - 3.3.1 + - 2.13.15 + - 3.3.4 java: [ '11', '17' ] os: - ubuntu-latest @@ -69,7 +69,7 @@ jobs: project/target key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Publish Snapshot for Scala 2.13 - run: CI_SNAPSHOT_RELEASE=publish sbt ++2.13.14 releaseIt + run: CI_SNAPSHOT_RELEASE=publish sbt ++2.13.15 releaseIt env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} @@ -102,7 +102,7 @@ jobs: project/target key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Publish Snapshot for Scala 3 - run: CI_SNAPSHOT_RELEASE=publish sbt ++3.3.1 releaseIt + run: CI_SNAPSHOT_RELEASE=publish sbt ++3.3.4 releaseIt env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/.github/workflows/it.yaml b/.github/workflows/it.yaml index e6fa98d..ab459c3 100644 --- a/.github/workflows/it.yaml +++ b/.github/workflows/it.yaml @@ -12,7 +12,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'safe for integration tests') strategy: matrix: - scala: [2.13.14, 3.3.1] + scala: [2.13.15, 3.3.4] java: [ '11', '17' ] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ab28904..6531aa5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: project/target key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Release for Scala 2.13 - run: CI_RELEASE=publishSigned sbt ++2.13.14 releaseIt + run: CI_RELEASE=publishSigned sbt ++2.13.15 releaseIt env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} @@ -65,7 +65,7 @@ jobs: project/target key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Release for Scala 3 - run: CI_RELEASE=publishSigned sbt ++3.3.1 releaseIt + run: CI_RELEASE=publishSigned sbt ++3.3.4 releaseIt env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/build.sbt b/build.sbt index 8f78fb7..aa4d673 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,7 @@ lazy val V = new { val ociSdk = "3.51.0" - val scala213 = "2.13.14" + val scala213 = "2.13.15" + val scala3 = "3.3.4" val `zio-nio` = "2.0.2" } @@ -18,7 +19,7 @@ inThisBuild( zioVersion := "2.1.11", organization := "io.laserdisc", scalaVersion := V.scala213, - crossScalaVersions := Seq(V.scala213, scala3.value), + crossScalaVersions := Seq(V.scala213, V.scala3), homepage := Some(url("https://github.com/laserdisc-io/zio-oci-objectstorage")), licenses += "MIT" -> url("http://opensource.org/licenses/MIT"), developers += Developer("amir", "Amir Saeid", "amir@glgdgt.com", url("https://github.com/amir"))