Skip to content

Commit 5597ce8

Browse files
CI: sequence sbt commands with ';' for sbt 2.x
sbt 2.x parses the CLI as a single command line, so space-separated commands (clean scalafmtCheck fullTest) no longer work - use 'clean; scalafmtCheckAll; fullTest'. Also switched to scalafmtCheckAll to cover build (.sbt) sources too.
1 parent 3f2beed commit 5597ce8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Start Docker images used in IT tests
2323
run: make dev-bg
2424
- name: Clean, check code formatting, compile, test
25-
run: sbt clean scalafmtCheck fullTest
25+
# sbt 2.x parses one command line: sequence multiple commands with ';' (space-separated no longer works)
26+
run: sbt "clean; scalafmtCheckAll; fullTest"
2627
- name: Stop Docker images used in IT tests
2728
if: always()
2829
run: make dev-stop

0 commit comments

Comments
 (0)