Skip to content

Commit

Permalink
back to using sbt-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Dec 4, 2024
1 parent 812ce2c commit ae04d9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 132 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Continuous Integration

on:
pull_request:
branches: ['2.*']
branches: [2.*]
push:
branches: ['2.*']
branches: [2.*]
tags: [v*]

env:
Expand Down Expand Up @@ -64,6 +64,9 @@ jobs:
java-version: 21
cache: sbt

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

- run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' test mimaReportBinaryIssues

- name: Compress target directories
Expand Down
129 changes: 0 additions & 129 deletions .github/workflows/ci3.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ ThisBuild / githubWorkflowSbtCommand := "sbt -J-Xmx2G"
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "8"), JavaSpec(Zulu, "11"),
JavaSpec(Zulu, "17"), JavaSpec(Zulu, "21"))
ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "mimaReportBinaryIssues")))
ThisBuild / githubWorkflowTargetBranches := Seq("2.*")
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
ThisBuild / githubWorkflowPublishTargetBranches := Seq(
RefPredicate.Equals(Ref.Branch("master")),
RefPredicate.StartsWith(Ref.Branch("2.")),
RefPredicate.StartsWith(Ref.Tag("v"))
)
Expand Down

0 comments on commit ae04d9f

Please sign in to comment.