Skip to content

Commit 4265a8b

Browse files
vemvbbatsov
authored andcommittedApr 11, 2021
Run clj-kondo by a more stable means

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed
 

‎.circleci/config.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ commands:
5858
name: Install make
5959
command: |
6060
sudo apt-get install make
61-
- run:
62-
name: Install clj-kondo
63-
command: |
64-
sudo curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo && sudo chmod +x install-clj-kondo && sudo ./install-clj-kondo
6561
- run:
6662
name: Generate Cache Checksum
6763
command: |
@@ -177,10 +173,6 @@ workflows:
177173
- util_job:
178174
name: Code Linting
179175
steps:
180-
- run:
181-
name: Running Eastwood
182-
command: |
183-
make eastwood
184176
- run:
185177
name: Running cljfmt
186178
command: |
@@ -189,3 +181,7 @@ workflows:
189181
name: Running clj-kondo
190182
command: |
191183
make kondo
184+
- run:
185+
name: Running Eastwood
186+
command: |
187+
make eastwood

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cljfmt:
2525
lein with-profile +$(CLOJURE_VERSION),+cljfmt cljfmt check
2626

2727
kondo:
28-
clj-kondo --lint src
28+
lein with-profile -dev,+clj-kondo run -m clj-kondo.main --lint src
2929

3030
cloverage:
3131
lein with-profile +$(CLOJURE_VERSION),+cloverage cloverage

‎project.clj

+3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@
136136
merge-meta [[:inner 0]]
137137
try-if-let [[:block 1]]}}}]
138138

139+
:clj-kondo [:test
140+
{:dependencies [[clj-kondo "2021.03.31"]]}]
141+
139142
:eastwood [:test
140143
{:plugins [[jonase/eastwood "0.4.0"]]
141144
:eastwood {:config-files ["eastwood.clj"]

0 commit comments

Comments
 (0)
Please sign in to comment.