Skip to content

Commit

Permalink
Merge pull request #88 from typelevel/update/sbt-typelevel-ci-release…
Browse files Browse the repository at this point in the history
…-0.7.1

Update sbt-typelevel-ci-release, ... to 0.7.1
  • Loading branch information
bpholt authored Jun 7, 2024
2 parents 083cf74 + d8b2a56 commit 73fe44e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Setup Java (temurin@17)
id: setup-java-temurin-17
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
path: targets.tar
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Setup Java (temurin@17)
id: setup-java-temurin-17
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -118,7 +118,7 @@ jobs:
run: sbt +update

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

Expand All @@ -128,7 +128,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.13, rootJVM)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootJVM

Expand All @@ -138,7 +138,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.13, rootNative)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootNative

Expand All @@ -148,7 +148,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.12, rootJS)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJS

Expand All @@ -158,7 +158,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.12, rootJVM)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJVM

Expand All @@ -168,7 +168,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.12, rootNative)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootNative

Expand All @@ -178,7 +178,7 @@ jobs:
rm targets.tar
- name: Download target directories (3, rootJS)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootJS

Expand All @@ -188,7 +188,7 @@ jobs:
rm targets.tar
- name: Download target directories (3, rootJVM)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootJVM

Expand All @@ -198,7 +198,7 @@ jobs:
rm targets.tar
- name: Download target directories (3, rootNative)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootNative

Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
- name: Setup Java (temurin@17)
id: setup-java-temurin-17
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ ThisBuild / githubWorkflowScalaVersions := Seq("2.13", "2.12", "3")
ThisBuild / tlJdkRelease := Some(8)

ThisBuild / mergifyStewardConfig ~= {
_.map(_.copy(mergeMinors = true, author = "typelevel-steward[bot]", action = MergifyAction.Merge(method = Option("squash"))))
_.map {
_.withMergeMinors(true)
.withAuthor("typelevel-steward[bot]")
.withAction(MergifyAction.Merge(method = Option("squash")))
}
}
ThisBuild / mergifySuccessConditions += MergifyCondition.Custom("#approved-reviews-by>=1")
ThisBuild / mergifyPrRules += MergifyPrRule(
Expand Down
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.5.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.5.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel-mergify" % "0.5.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.7.1")
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.1")
addSbtPlugin("org.typelevel" % "sbt-typelevel-mergify" % "0.7.1")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")
Expand Down

0 comments on commit 73fe44e

Please sign in to comment.