Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2

- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4.2.3
with:
path: |
.cpcache
~/.m2/repository
key: ${{ runner.os }}-deps-${{ hashFiles('**/deps.edn') }}

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@3.0
uses: DeLaGuardo/setup-clojure@13.4
with:
tools-deps: '1.11.1.1208'
tools-deps: '1.12.1.1550'

- name: Test
run: clojure -T:build test
Expand Down
12 changes: 6 additions & 6 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
com.github.oliyh/martian {:mvn/version "0.1.26"}
com.github.oliyh/martian-hato {:mvn/version "0.1.26"}
org.clojure/core.async {:mvn/version "1.6.681"}}
:deps {org.clojure/clojure {:mvn/version "1.12.1"}
com.github.oliyh/martian {:mvn/version "0.1.32"}
com.github.oliyh/martian-hato {:mvn/version "0.1.32"}
org.clojure/core.async {:mvn/version "1.8.741"}}
:aliases
{:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.6.4" :git/sha "c21cfde"}}
{:git/tag "v0.9.2" :git/sha "9c9f078"}}
:ns-default build}
:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}

;; Commented out PR 48 as it causes tests not to run
;; https://github.com/wkok/openai-clojure/pull/48/files
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.10.3</version>
<version>1.12.1</version>
</dependency>
</dependencies>
<build>
Expand Down
4 changes: 2 additions & 2 deletions src/wkok/openai_clojure/azure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
:replace
:martian.hato/perform-request)
(interceptors/inject
(interceptors/encode-body encoders)
(interceptors/encode-request encoders)
:replace
:martian.interceptors/encode-body)
:martian.interceptors/encode-request)
(interceptors/inject
(interceptors/coerce-response encoders)
:replace
Expand Down
4 changes: 2 additions & 2 deletions src/wkok/openai_clojure/openai.clj
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
:replace
:martian.hato/perform-request)
(interceptors/inject
(interceptors/encode-body encoders)
(interceptors/encode-request encoders)
:replace
:martian.interceptors/encode-body)
:martian.interceptors/encode-request)
(interceptors/inject
(interceptors/coerce-response encoders)
:replace
Expand Down
Loading