Skip to content

Commit 742f267

Browse files
authored
test & ci: bump deps (#80)
Of note: - clojure 1.12.0! woot! - new version of clj-kondo - we can now build cache and copy configs in one step
1 parent a7bbba3 commit 742f267

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

bb.edn

+1-1
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"
33
:sha "cf44c15f30ea3867227fa61ceb823e5e942c707f"}
4-
version-clj/version-clj {:mvn/version "2.0.2"}}
4+
version-clj/version-clj {:mvn/version "2.0.3"}}
55
:tasks {;; setup
66
:requires ([babashka.fs :as fs]
77
[clojure.string :as string]

deps.edn

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
:1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
1010
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
1111
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.3"}}}
12-
:1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0-beta2"}}}
12+
:1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0"}}}
1313
:build
1414
{:extra-paths ["build"]
1515
:deps {io.github.clojure/tools.build {:mvn/version "0.10.5"}
@@ -18,26 +18,26 @@
1818
:http-server ;; used for to support integration tests
1919
{:extra-paths ["test" "test-resources"]
2020
:override-deps {org.clojure/clojure {:mvn/version "1.11.3"}}
21-
:extra-deps {babashka/fs {:mvn/version "0.5.21"}
21+
:extra-deps {babashka/fs {:mvn/version "0.5.22"}
2222
ring/ring-jetty-adapter {:mvn/version "1.10.0"} ;; stick with version that works on jdk8
2323
ch.qos.logback/logback-classic {:mvn/version "1.3.14"
2424
:exclusions [org.slf4j/slf4j-api]}
25-
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.13"}
26-
org.slf4j/jul-to-slf4j {:mvn/version "2.0.13"}
27-
org.slf4j/log4j-over-slf4j {:mvn/version "2.0.13"}}
25+
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.16"}
26+
org.slf4j/jul-to-slf4j {:mvn/version "2.0.16"}
27+
org.slf4j/log4j-over-slf4j {:mvn/version "2.0.16"}}
2828
:exec-fn clj-http.lite.test-util.http-server/run}
2929
:test
3030
{:extra-paths ["test"]
3131
:extra-deps {io.github.cognitect-labs/test-runner
3232
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
3333
:main-opts ["-m" "cognitect.test-runner"]}
3434
;; for consistent linting we use a specific version of clj-kondo through the jvm
35-
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2024.05.24"}}
35+
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2024.08.29"}}
3636
:override-deps {org.clojure/clojure {:mvn/version "1.11.3"}}
3737
:main-opts ["-m" "clj-kondo.main"]}
38-
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.8.1206"}
38+
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.9.1221"}
3939
org.clojure/clojure {:mvn/version "1.11.3"}
40-
org.slf4j/slf4j-simple {:mvn/version "2.0.13"} ;; to rid ourselves of logger warnings
40+
org.slf4j/slf4j-simple {:mvn/version "2.0.16"} ;; to rid ourselves of logger warnings
4141
}
4242
:main-opts ["-m" "antq.core"
4343
"--exclude=ch.qos.logback/[email protected]" ;; requires min jdk 11, we are jdk8 compatible

script/lint.clj

+3-5
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
with-out-str
2424
string/trim)
2525
bb-cp (bbcp/get-classpath)]
26-
(status/line :detail "- copying configs")
27-
(t/clojure "-M:clj-kondo --skip-lint --copy-configs --lint" clj-cp bb-cp)
28-
(status/line :detail "- creating cache")
29-
(t/clojure "-M:clj-kondo --dependencies --lint" clj-cp bb-cp)))
26+
(status/line :detail "- copying lib configs and creating cache")
27+
(t/clojure "-M:clj-kondo --skip-lint --copy-configs --dependencies --lint" clj-cp bb-cp)))
3028

3129
(defn- check-cache [{:keys [rebuild]}]
3230
(status/line :head "clj-kondo: cache check")
@@ -50,7 +48,7 @@
5048
(status/line :head "clj-kondo: linting")
5149
(let [{:keys [exit]}
5250
(t/clojure {:continue true}
53-
"-M:clj-kondo --lint src test build script deps.edn bb.edn")]
51+
"-M:clj-kondo --parallel --lint src test build script deps.edn bb.edn")]
5452
(cond
5553
(= 2 exit) (status/die exit "clj-kondo found one or more lint errors")
5654
(= 3 exit) (status/die exit "clj-kondo found one or more lint warnings")

0 commit comments

Comments
 (0)