diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4625a62..87b8ba5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.8] + scala: [2.13.17] java: [temurin@11] runs-on: ${{ matrix.os }} steps: @@ -65,7 +65,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.8] + scala: [2.13.17] java: [temurin@11] runs-on: ${{ matrix.os }} steps: @@ -85,12 +85,12 @@ jobs: - name: Setup sbt uses: sbt/setup-sbt@v1 - - name: Download target directories (2.13.8) + - name: Download target directories (2.13.17) uses: actions/download-artifact@v4 with: - name: target-${{ matrix.os }}-2.13.8-${{ matrix.java }} + name: target-${{ matrix.os }}-2.13.17-${{ matrix.java }} - - name: Inflate target directories (2.13.8) + - name: Inflate target directories (2.13.17) run: | tar xf targets.tar rm targets.tar diff --git a/build.sbt b/build.sbt index 11e9d65..96a7553 100644 --- a/build.sbt +++ b/build.sbt @@ -1,23 +1,23 @@ import Dependencies._ // Flags -Global / semanticdbEnabled := true -Global / onChangedBuildSource := ReloadOnSourceChanges -Global / scalacOptions := Seq( +Global / semanticdbEnabled := true +Global / onChangedBuildSource := ReloadOnSourceChanges +Global / scalacOptions := Seq( "-Ywarn-unused", "-Werror", "-feature", "-language:reflectiveCalls", "-deprecation", ) -Global / scalaVersion := "2.13.8" -ThisBuild / versionScheme := Some("early-semver") +Global / scalaVersion := "2.13.17" +ThisBuild / versionScheme := Some("early-semver") ThisBuild / testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework") ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")) ThisBuild / githubWorkflowTargetTags ++= Seq("v*") ThisBuild / githubWorkflowPublishTargetBranches += RefPredicate.StartsWith(Ref.Tag("v")) -ThisBuild / githubWorkflowPublish := Seq(WorkflowStep.Sbt( +ThisBuild / githubWorkflowPublish := Seq(WorkflowStep.Sbt( List("ci-release"), env = Map( "PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}", @@ -77,6 +77,6 @@ lazy val zioComposeGraphQL = project.in(file("./compose-graphql")) ZIOTest, ZIOTestSbt, PPrint, - Caliban + Caliban, ), )