Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sbt/sbt-osgi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e8572873a02181a42c7e6a5caff811ae24415e80
Choose a base ref
..
head repository: sbt/sbt-osgi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4a4227afa511f3c35f41e442505a17a237ed4396
Choose a head ref
Showing with 22 additions and 0 deletions.
  1. +8 −0 .github/workflows/ci.yml
  2. +1 −0 .gitignore
  3. +13 −0 build.sbt
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
scala: [2.12.19]
java: [temurin@8, temurin@11, temurin@17, temurin@21]
exclude:
- java: temurin@8
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Ignore line ending differences in git
@@ -77,6 +80,11 @@ jobs:
java-version: 21
cache: sbt

- name: Install sbt
if: matrix.os == 'macos-latest'
shell: bash
run: brew install sbt

- name: Check that workflows are up to date
shell: bash
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
boot/
lib_managed/
target/
.bsp/

# Eclipse
.cache
13 changes: 13 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -49,6 +49,19 @@ ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("21")
)

ThisBuild / githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest"))

// GitHub Actions macOS 13+ runner images do not come with sbt preinstalled anymore
ThisBuild / githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Run(
commands = List(
"brew install sbt"
),
cond = Some("matrix.os == 'macos-latest'"),
name = Some("Install sbt")
)
)

name := "sbt-osgi"
enablePlugins(SbtPlugin)
libraryDependencies ++= Dependencies.sbtOsgi