Skip to content

Commit ae04d9f

Browse files
committed
back to using sbt-github-actions
1 parent 812ce2c commit ae04d9f

File tree

3 files changed

+6
-132
lines changed

3 files changed

+6
-132
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ name: Continuous Integration
99

1010
on:
1111
pull_request:
12-
branches: ['2.*']
12+
branches: [2.*]
1313
push:
14-
branches: ['2.*']
14+
branches: [2.*]
1515
tags: [v*]
1616

1717
env:
@@ -64,6 +64,9 @@ jobs:
6464
java-version: 21
6565
cache: sbt
6666

67+
- name: Check that workflows are up to date
68+
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' githubWorkflowCheck
69+
6770
- run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' test mimaReportBinaryIssues
6871

6972
- name: Compress target directories

.github/workflows/ci3.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ ThisBuild / githubWorkflowSbtCommand := "sbt -J-Xmx2G"
155155
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "8"), JavaSpec(Zulu, "11"),
156156
JavaSpec(Zulu, "17"), JavaSpec(Zulu, "21"))
157157
ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "mimaReportBinaryIssues")))
158+
ThisBuild / githubWorkflowTargetBranches := Seq("2.*")
158159
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
159160
ThisBuild / githubWorkflowPublishTargetBranches := Seq(
160-
RefPredicate.Equals(Ref.Branch("master")),
161161
RefPredicate.StartsWith(Ref.Branch("2.")),
162162
RefPredicate.StartsWith(Ref.Tag("v"))
163163
)

0 commit comments

Comments
 (0)