Skip to content

Commit

Permalink
Add clj-kondo to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed May 19, 2023
1 parent f3fd2a4 commit dd78eeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
lein: 2.9.10
bb: latest
clj-kondo: 2023.05.18

- name: Execute tests
working-directory: ./cljfmt
Expand All @@ -28,3 +29,6 @@ jobs:

- name: Check formatting
run: bb fmt check

- name: Lint sourcecode
run: bb lint
2 changes: 2 additions & 0 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
:requires ([cljfmt.main :as fmt])
:task (binding [fmt/*command* "bb fmt"]
(apply fmt/-main *command-line-args*))}
lint {:doc "Run clj-kondo"
:task (shell "clj-kondo --lint cljfmt/src lein-cljfmt/src")}
test {:doc "Run babashka tests"
:extra-deps {eftest/eftest {:mvn/version "0.6.0"}}
:extra-paths ["cljfmt/test"]
Expand Down

0 comments on commit dd78eeb

Please sign in to comment.