From e7c3888352c6530b193acb2904466d31df1a5771 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Tue, 5 Mar 2024 11:07:51 +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 d5fcf87..0f8d7d9 100644 --- a/project.clj +++ b/project.clj @@ -15,6 +15,7 @@ :profiles {;; :default [:base :system :user :provided :dev] :provided {:dependencies [[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"]]} @@ -53,6 +54,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"]]})