Skip to content

Commit

Permalink
Merge pull request #207 from scala-steward/update/sbt-mergify-github-…
Browse files Browse the repository at this point in the history
…actions-0.9.0

Update sbt-mergify-github-actions to 0.9.0
  • Loading branch information
nafg authored Sep 29, 2024
2 parents 66f3006 + dcad3f8 commit 8bf5400
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,25 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.13.14, 3.3.3]
java: [temurin@8]
java: [zulu@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
- name: Setup Java (zulu@8)
if: matrix.java == 'zulu@8'
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: zulu
java-version: 8
cache: sbt

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Check that workflows are up to date
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

Expand All @@ -63,22 +66,25 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [3.3.3]
java: [temurin@8]
java: [zulu@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
- name: Setup Java (zulu@8)
if: matrix.java == 'zulu@8'
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: zulu
java-version: 8
cache: sbt

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Download target directories (2.13.14)
uses: actions/download-artifact@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
defaults: {}
queue_rules:
- name: default
conditions: []
merge_conditions: []
pull_request_rules:
- name: Automatically merge successful Scala Steward PRs
conditions:
- or:
- author=scala-steward
- author=nafg-scala-steward[bot]
- check-success=Build and Test (ubuntu-latest, 2.13.14, temurin@8)
- check-success=Build and Test (ubuntu-latest, 3.3.3, temurin@8)
- check-success=Build and Test (ubuntu-latest, 2.13.14, zulu@8)
- check-success=Build and Test (ubuntu-latest, 3.3.3, zulu@8)
actions:
queue:
name: default
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.6.1")
addSbtPlugin("io.github.nafg.mergify" % "sbt-mergify-github-actions" % "0.8.2")
addSbtPlugin("io.github.nafg.mergify" % "sbt-mergify-github-actions" % "0.9.0")
libraryDependencies += "io.github.nafg.scalac-options" %% "scalac-options" % "0.3.0"

0 comments on commit 8bf5400

Please sign in to comment.