Skip to content

Commit

Permalink
Make linter actually fail on warnings, errors (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Mar 11, 2023
1 parent 7631909 commit fe0e8bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/kondo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install babashka
uses: just-sultanov/setup-babashka@v2
- name: Install Babashka
uses: DeLaGuardo/setup-clojure@10.2
with:
version: '0.8.156'
bb: latest

- name: Cache kondo directory
uses: actions/cache@v2
Expand Down
13 changes: 7 additions & 6 deletions bb.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{:pods {clj-kondo/clj-kondo {:version "2023.01.20"}}
:tasks
{:requires ([pod.borkdude.clj-kondo :as clj-kondo])
{:deps
{io.github.clj-kondo/clj-kondo-bb
{:git/tag "v2023.01.20" :git/sha "adfc7df"}}

test:clj
:tasks
{test:clj
{:doc "Run CLJ tests."
:task (shell "clojure -X:test:runner")}

Expand All @@ -16,5 +17,5 @@

lint
{:doc "Lint with clj-kondo."
:task (clj-kondo/print!
(clj-kondo/run! {:lint ["src" "test"]}))}}}
:task (exec 'clj-kondo.core/exec)
:exec-args {:lint ["src" "test"]}}}}

0 comments on commit fe0e8bb

Please sign in to comment.