Skip to content

Commit 43afda8

Browse files
authored
Merge pull request #27 from toyokumo/bump-deps
Bump deps
2 parents cd8fc10 + c7fe23b commit 43afda8

File tree

7 files changed

+223
-198
lines changed

7 files changed

+223
-198
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{:hooks
2+
{:analyze-call
3+
{next.jdbc/with-transaction
4+
hooks.com.github.seancorfield.next-jdbc/with-transaction}}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
(ns hooks.com.github.seancorfield.next-jdbc
2+
(:require
3+
[clj-kondo.hooks-api :as api]))
4+
5+
(defn with-transaction
6+
"Expands (with-transaction [tx expr opts] body)
7+
to (let [tx expr] opts body) pre clj-kondo examples."
8+
[{:keys [:node]}]
9+
(let [[binding-vec & body] (rest (:children node))
10+
[sym val opts] (:children binding-vec)]
11+
(when-not (and sym val)
12+
(throw (ex-info "No sym and val provided" {})))
13+
(let [new-node (api/list-node
14+
(list*
15+
(api/token-node 'let)
16+
(api/vector-node [sym val])
17+
opts
18+
body))]
19+
{:node new-node})))

.github/workflows/build-and-test.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- 6379:6379
2727

2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

31-
- uses: actions/setup-java@v3
31+
- uses: actions/setup-java@v4
3232
with:
3333
distribution: 'zulu'
3434
java-version: '11'
@@ -38,14 +38,8 @@ jobs:
3838
- uses: DeLaGuardo/setup-clojure@master
3939
with:
4040
cli: latest
41-
42-
- uses: 0918nobita/[email protected]
43-
with:
44-
cljstyle-version: '0.15.0'
45-
46-
- uses: DeLaGuardo/setup-clj-kondo@master
47-
with:
48-
version: '2022.04.25'
41+
cljstyle: latest
42+
clj-kondo: latest
4943

5044
- name: Show versions
5145
run: |
@@ -55,7 +49,7 @@ jobs:
5549
clj-kondo --version
5650
5751
- name: Cache dependencies
58-
uses: actions/cache@v3
52+
uses: actions/cache@v4
5953
with:
6054
path: ~/.m2
6155
key: clj-cache-${{ hashFiles('**/deps.edn') }}

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
permissions: write-all
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313

14-
- uses: actions/setup-java@v3
14+
- uses: actions/setup-java@v4
1515
with:
1616
distribution: 'zulu'
1717
java-version: '11'
@@ -28,7 +28,7 @@ jobs:
2828
clojure --version
2929
3030
- name: Cache dependencies
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: ~/.m2
3434
key: clj-cache-${{ hashFiles('**/deps.edn') }}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ pom.xml.asc
3333
.idea/replstate.xml
3434
.idea/httpRequests
3535
.idea/libraries/
36+
.idea/git_toolbox_blame.xml
37+
.idea/git_toolbox_prj.xml
38+
39+
.lsp/

deps.edn

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
{:paths ["src" "src-cljs" "src-cljc"]
2-
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
3-
org.clojure/core.async {:mvn/version "1.5.648"}
4-
prismatic/schema {:mvn/version "1.2.0"}
5-
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"}
6-
com.cognitect/transit-clj {:mvn/version "1.0.329"}
7-
com.cognitect/transit-cljs {:mvn/version "0.8.269"}
8-
commons-codec/commons-codec {:mvn/version "1.15"}
9-
metosin/ring-http-response {:mvn/version "0.9.3" :exclusions [ring/ring-core]}
10-
org.apache.commons/commons-csv {:mvn/version "1.9.0"}
11-
commons-io/commons-io {:mvn/version "2.11.0"}
12-
info.sunng/ring-jetty9-adapter {:mvn/version "0.17.6"}
2+
:deps {org.clojure/clojure {:mvn/version "1.11.3"}
3+
org.clojure/core.async {:mvn/version "1.6.681"}
4+
prismatic/schema {:mvn/version "1.4.1"}
5+
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}
6+
com.cognitect/transit-clj {:mvn/version "1.0.333"}
7+
com.cognitect/transit-cljs {:mvn/version "0.8.280"}
8+
commons-codec/commons-codec {:mvn/version "1.17.1"}
9+
metosin/ring-http-response {:mvn/version "0.9.4"}
10+
org.apache.commons/commons-csv {:mvn/version "1.11.0"}
11+
commons-io/commons-io {:mvn/version "2.16.1"}
12+
info.sunng/ring-jetty9-adapter {:mvn/version "0.22.6"}
1313
com.stuartsierra/component {:mvn/version "1.1.0"}
14-
hikari-cp/hikari-cp {:mvn/version "2.14.0" :exclusions [org.slf4j/slf4j-api]}
15-
com.github.seancorfield/next.jdbc {:mvn/version "1.2.772"}
16-
metosin/jsonista {:mvn/version "0.3.5"}
17-
com.taoensso/carmine {:mvn/version "3.1.0"}
18-
org.clojure/tools.logging {:mvn/version "1.2.4"}
19-
org.eclipse.angus/angus-mail {:mvn/version "2.0.2"}
20-
clj-http/clj-http {:mvn/version "3.12.3"}
21-
diehard/diehard {:mvn/version "0.11.3"}}
14+
hikari-cp/hikari-cp {:mvn/version "3.1.0" :exclusions [org.slf4j/slf4j-api]}
15+
com.github.seancorfield/next.jdbc {:mvn/version "1.3.939"}
16+
metosin/jsonista {:mvn/version "0.3.9"}
17+
com.taoensso/carmine {:mvn/version "3.4.1"}
18+
org.clojure/tools.logging {:mvn/version "1.3.0"}
19+
org.eclipse.angus/angus-mail {:mvn/version "2.0.3"}
20+
clj-http/clj-http {:mvn/version "3.13.0"}
21+
diehard/diehard {:mvn/version "0.11.12"}}
2222
:aliases
2323
{:dev {:extra-paths ["test" "dev-resources"]
24-
:extra-deps {org.postgresql/postgresql {:mvn/version "42.3.3"}
25-
lambdaisland/kaocha {:mvn/version "1.66.1034"}
24+
:extra-deps {org.postgresql/postgresql {:mvn/version "42.7.3"}
25+
lambdaisland/kaocha {:mvn/version "1.91.1392"}
2626
;; experimental
27-
com.walmartlabs/lacinia {:mvn/version "1.2"}
28-
superlifter/superlifter {:mvn/version "0.1.3"}
29-
com.google.firebase/firebase-admin {:mvn/version "8.1.0"}}}
27+
com.walmartlabs/lacinia {:mvn/version "1.2.2"}
28+
superlifter/superlifter {:mvn/version "0.1.5"}
29+
com.google.firebase/firebase-admin {:mvn/version "9.3.0"}}}
3030

3131
:test {:main-opts ["-m" "kaocha.runner"]}
3232

3333
:build
34-
{:deps {com.github.liquidz/build.edn {:git/tag "0.7.145" :git/sha "776501e"}}
34+
{:deps {com.github.liquidz/build.edn {:git/tag "0.11.266" :git/sha "849302d"}}
3535
:ns-default build-edn.main}
3636

3737
:outdated

0 commit comments

Comments
 (0)