Skip to content

Commit 1a4d7f5

Browse files
committed
move scalafmt to a separate CI job
it's annoying otherwise
1 parent e0df4c9 commit 1a4d7f5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- os: ubuntu-latest
2525
java: 17
2626
jobtype: 3
27+
- os: ubuntu-latest
28+
java: 17
29+
jobtype: 4
2730
runs-on: ${{ matrix.os }}
2831
steps:
2932
- name: Checkout
@@ -53,6 +56,9 @@ jobs:
5356
3)
5457
sbt -v -Dfile.encoding=UTF-8 "runBenchmarks"
5558
;;
59+
4)
60+
sbt -v -Dfile.encoding=UTF-8 scalafmtCheckAll scalafmtSbtCheck
61+
;;
5662
*)
5763
echo unknown jobtype
5864
exit 1

bin/run-ci.sh

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ set -o nounset
44

55
sbt -Dfile.encoding=UTF-8 \
66
mimaReportBinaryIssues \
7-
scalafmtCheckAll \
8-
scalafmtSbtCheck \
97
Test/compile \
108
doc \
119
crossTestBridges \

0 commit comments

Comments
 (0)