From 6dbdba743f194f0424318b435ef4d0f6c8b1492e Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Tue, 5 Mar 2024 11:10:29 +0100 Subject: [PATCH] [new] Add Clojure v1.12, JVM v21 to tests --- .github/workflows/main-tests.yml | 2 +- project.clj | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main-tests.yml b/.github/workflows/main-tests.yml index faa64d6..af8717b 100644 --- a/.github/workflows/main-tests.yml +++ b/.github/workflows/main-tests.yml @@ -5,7 +5,7 @@ jobs: tests: strategy: matrix: - java: ['17', '18', '19'] + java: ['17', '19', '21'] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/project.clj b/project.clj index 14ad705..8209369 100644 --- a/project.clj +++ b/project.clj @@ -17,6 +17,7 @@ {;; :default [:base :system :user :provided :dev] :provided {:dependencies [[org.clojure/clojurescript "1.11.132"] [org.clojure/clojure "1.11.1"]]} + :c1.12 {:dependencies [[org.clojure/clojure "1.12.0-alpha8"]]} :c1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]} :c1.10 {:dependencies [[org.clojure/clojure "1.10.1"]]} :c1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]} @@ -81,6 +82,6 @@ "build-once" ["do" ["clean"] ["cljsbuild" "once"]] "deploy-lib" ["do" ["build-once"] ["deploy" "clojars"] ["install"]] - "test-clj" ["with-profile" "+c1.11:+c1.10:+c1.9" "test"] - "test-cljs" ["with-profile" "+test" "cljsbuild" "test"] + "test-clj" ["with-profile" "+c1.12:+c1.11:+c1.10:+c1.9" "test"] + "test-cljs" ["with-profile" "+test" "cljsbuild" "test"] "test-all" ["do" ["clean"] ["test-clj"] ["test-cljs"]]})