diff --git a/.github/workflows/auto-approve.yaml b/.github/workflows/auto-approve.yaml index 3a46e82..af39fbe 100644 --- a/.github/workflows/auto-approve.yaml +++ b/.github/workflows/auto-approve.yaml @@ -1,6 +1,6 @@ name: Auto approve and merge dependency bump PRs -on: pull_request +on: pull_request_target permissions: contents: write diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 758973c..331a4fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,9 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: 21 cache: sbt + - uses: sbt/setup-sbt@v1 - run: sbt --client scalafmtCheckAll - run: sbt --client scalafmtSbtCheck @@ -37,8 +38,9 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: 21 cache: sbt + - uses: sbt/setup-sbt@v1 - run: sbt --client +compile - run: sbt --client +test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c006212..969a35f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: 21 cache: sbt - run: sbt ci-release diff --git a/project/plugins.sbt b/project/plugins.sbt index 274d1cd..4c08406 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,5 +2,5 @@ addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") -addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.0") +addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2") addSbtPlugin("io.github.zamblauskas" % "sbt-examplestest" % "0.3.0")