Skip to content

Commit 98ff022

Browse files
authored
Merge pull request #232 from clj-commons/lread/maint-2026-01-20
maintenance
2 parents aa57652 + 004a768 commit 98ff022

7 files changed

Lines changed: 19 additions & 11 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
{:lint-as {babashka.fs/with-temp-dir clojure.core/let}}
1+
{:linters {:babashka-fs/with-temp-dir-first-arg-not-vector {:level :error}
2+
:babashka-fs/with-temp-dir-vector-arg-needs-binding-symbol {:level :error}
3+
:babashka-fs/with-temp-dir-vector-arg-extra-value {:level :error}}
4+
:hooks {:analyze-call {babashka.fs/with-temp-dir babashka.fs/with-temp-dir}}}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
{:lint-as {lread.status-line/line clojure.tools.logging/infof
2-
lread.status-line/die clojure.tools.logging/infof}}
2+
lread.status-line/die clojure.tools.logging/infof}
3+
:config-in-call {lread.status-line/line {:ignore [:redundant-format]}
4+
lread.status-line/die {:ignore [:redundant-format]}}}

.github/workflows/nvd_scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
java-version: 21
2323

2424
- name: Install Clojure Tools
25-
uses: DeLaGuardo/setup-clojure@13.4
25+
uses: DeLaGuardo/setup-clojure@13.5.2
2626
with:
2727
cli: 'latest'
2828
bb: 'latest'

.github/workflows/shared-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
java-version: ${{ inputs.jdk }}
3131

3232
- name: Install Clojure Tools
33-
uses: DeLaGuardo/setup-clojure@13.4
33+
uses: DeLaGuardo/setup-clojure@13.5.2
3434
with:
3535
cli: 'latest'
3636
bb: 'latest'

bb.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{:paths ["script" "build"]
22
:deps {lread/status-line {:git/url "https://github.com/lread/status-line.git"
3-
:sha "cf44c15f30ea3867227fa61ceb823e5e942c707f"}
4-
io.github.babashka/neil {:git/tag "v0.3.68" :git/sha "78ffab1"}}
3+
:sha "eace48e2e0fcc65a3986d696fb0b910fa5790a1c"}
4+
io.github.babashka/neil {:git/tag "v0.3.69" :git/sha "fa79321"}}
55
:tasks {;; setup
66
:requires ([babashka.fs :as fs]
77
[clojure.string :as string]

deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
{:git/sha "209b64504cb3bd3b99ecfec7937b358a879f55c1"}}}
5858

5959
:build {:extra-paths ["build"]
60-
:deps {io.github.clojure/tools.build {:mvn/version "0.10.11"}
60+
:deps {io.github.clojure/tools.build {:mvn/version "0.10.12"}
6161
slipset/deps-deploy {:mvn/version "0.2.2"}}
6262
:ns-default build}
6363

6464
;; for consistent linting we use a specific version of clj-kondo through the jvm
65-
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2025.10.23"}}
65+
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2026.01.19"}}
6666
:override-deps {org.clojure/clojure {:mvn/version "1.12.2"}}
6767
:main-opts ["-m" "clj-kondo.main"]}
6868
:eastwood {:main-opts ["-m" "eastwood.lint" {:exclude-namespaces [cognitect.test-runner]

script/lint.clj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
(ns lint
2-
(:require [babashka.classpath :as bbcp]
3-
[babashka.cli :as cli]
2+
(:require [babashka.cli :as cli]
43
[babashka.fs :as fs]
54
[babashka.tasks :as t]
65
[clojure.string :as string]
@@ -22,7 +21,11 @@
2221
"-Spath -M:test:isolated")
2322
with-out-str
2423
string/trim)
25-
bb-cp (bbcp/get-classpath)]
24+
bb-cp (-> (t/shell {:out :string}
25+
"bb print-deps --format classpath")
26+
:out
27+
string/trim)]
28+
2629
(status/line :detail "- copying configs")
2730
(t/clojure "-M:clj-kondo --skip-lint --copy-configs --lint" clj-cp bb-cp)
2831
(status/line :detail "- creating cache")

0 commit comments

Comments
 (0)