Skip to content

Commit

Permalink
improvement: Allow sbt BSP to run on earlier JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 23, 2024
1 parent 8290760 commit 74575db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
os: macOS-latest
java: "17"
- type: sbt
command: bin/test.sh '+sbt-metals/publishLocal; slow/testOnly -- tests.sbt.*'
command:
bin/test.sh +sbt-metals/publishLocal
bin/test.sh 'slow/testOnly -- tests.sbt.*'
name: Sbt integration
os: ubuntu-latest
java: "17"
Expand Down Expand Up @@ -148,7 +150,8 @@ jobs:
with:
sbt-runner-version: 1.10.3
- name: ${{ matrix.command }}
run: ${{ matrix.command }}
run: |
${{ matrix.command }}
env:
METALS_TEST: true
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ lazy val `sbt-metals` = project
),
scalaVersion := V.scala212,
crossScalaVersions := Seq(V.scala212, V.scala3ForSBT2),
scalacOptions := Seq("-release", "8"),
scriptedLaunchOpts ++= Seq(s"-Dplugin.version=${version.value}"),
(pluginCrossBuild / sbtVersion) := {
scalaBinaryVersion.value match {
Expand Down

0 comments on commit 74575db

Please sign in to comment.