Skip to content

Commit 295e4d4

Browse files
committed
Test sbt-dotty on sbt 1.5
1 parent 77b0ae0 commit 295e4d4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,12 @@ jobs:
282282
- name: Add SBT proxy repositories
283283
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
284284

285-
- name: Test
285+
- name: Test sbt 1.4.x
286286
run: ./project/scripts/sbt "sbt-dotty/scripted; sbt-community-build/scripted"
287287

288+
- name: Test sbt 1.5.x
289+
run: ./project/scripts/sbt "set \`sbt-dotty\`/scriptedSbt := \"1.5.0-RC1\"; sbt-dotty/scripted sbt-dotty/*; sbt-community-build/scripted"
290+
288291
test_java8:
289292
runs-on: [self-hosted, Linux]
290293
container:

project/Build.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,9 @@ object Build {
11911191
baseDirectory.value / "../language-server/src/dotty/tools/languageserver/config",
11921192
sbtTestDirectory := baseDirectory.value / "sbt-test",
11931193

1194+
// build sbt-dotty with sbt 1.4.9 to make sure it is compatible with sbt 1.4.x
1195+
pluginCrossBuild / sbtVersion := "1.4.9",
1196+
11941197
// The batch mode accidentally became the default with no way to disable
11951198
// it in sbt 1.4 (https://github.com/sbt/sbt/issues/5913#issuecomment-716003195).
11961199
// We enable it explicitly here to make it clear that we're using it.

0 commit comments

Comments
 (0)