Skip to content

Commit 85deb63

Browse files
committed
Check fmt in CI
1 parent e67e240 commit 85deb63

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.circleci/config.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@ jobs:
6262
paths:
6363
- workdir/*
6464

65+
checkfmt:
66+
<<: *default_sbt_job
67+
steps:
68+
- attach_workspace:
69+
at: ~/
70+
- *restore_sbt_cache
71+
- run:
72+
name: Check formatting
73+
command: sbt ";scalafmt::test;test:scalafmt::test;sbt:scalafmt::test"
74+
- *clean_sbt_cache
75+
- *save_sbt_cache
76+
6577
populate_cache:
6678
<<: *default_sbt_job
6779
steps:
@@ -116,9 +128,9 @@ workflows:
116128
- populate_cache:
117129
requires:
118130
- checkout_and_version
119-
# - checkfmt:
120-
# requires:
121-
# - populate_cache
131+
- checkfmt:
132+
requires:
133+
- populate_cache
122134
- compile_and_test:
123135
requires:
124136
- populate_cache
@@ -131,7 +143,7 @@ workflows:
131143
context: CodacyAWS
132144
requires:
133145
- compile_and_test
134-
# - checkfmt
146+
- checkfmt
135147
- tag_version:
136148
filters:
137149
branches:

0 commit comments

Comments
 (0)