From f2f2d8fd28293012a6e3a05e3dc1ecad5a8bb01b Mon Sep 17 00:00:00 2001 From: Luo Tian Date: Tue, 9 Jan 2024 15:30:53 +0800 Subject: [PATCH] bump versions and incorporate license into build process (#62) * bump dep versions * incorporate license into build --- .github/workflows/main.yml | 4 ++-- build.clj | 6 +++++- deps.edn | 11 +++++------ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 565b219..124d153 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: - uses: DeLaGuardo/setup-clojure@10.1 with: - cli: '1.11.1.1208' + cli: '1.11.1.1435' - uses: actions/cache@v3 with: @@ -28,7 +28,7 @@ jobs: key: default-build - run: clojure -T:build ci - + - uses: codecov/codecov-action@v3 - name: deploy diff --git a/build.clj b/build.clj index ec91401..814d54e 100644 --- a/build.clj +++ b/build.clj @@ -7,7 +7,11 @@ [opts] (let [defaults {:lib 'io.github.robertluo/fun-map :version (format "0.5.%s" (b/git-count-revs nil)) - :scm {:url "https://github.com/robertluo/fun-map"}}] + :scm {:url "https://github.com/robertluo/fun-map"} + :pom-data [[:licenses + [:license + [:name "Eclipse Public License 1.0"] + [:url "https://opensource.org/license/epl-1-0/"]]]]}] (merge defaults opts))) (defn tests diff --git a/deps.edn b/deps.edn index f9e9629..9b2ac43 100644 --- a/deps.edn +++ b/deps.edn @@ -1,10 +1,10 @@ {:paths ["src"] :aliases {:dev ;for development {:extra-paths ["test"] - :extra-deps {manifold/manifold {:mvn/version "0.3.0"} - org.clojure/clojurescript {:mvn/version "1.11.60"}}} + :extra-deps {manifold/manifold {:mvn/version "0.4.1"} + org.clojure/clojurescript {:mvn/version "1.11.121"}}} :test ;run tests under console. e.g. clj -M:dev:test - {:extra-deps {lambdaisland/kaocha {:mvn/version "1.73.1175"} + {:extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"} lambdaisland/kaocha-cloverage {:mvn/version "1.1.89"}} :main-opts ["-m" "kaocha.runner"]} :cljs-test @@ -12,7 +12,6 @@ :extra-deps {olical/cljs-test-runner {:mvn/version "3.8.0"}} :main-opts ["-m" "cljs-test-runner.main"]} :build ;customized building process running. e.g. clj -T:build ci - {:deps {io.github.seancorfield/build-clj {:git/tag "v0.9.2" - :git/sha "9c9f078"}} + {:deps {io.github.robertluo/build-clj {:git/sha "5d45f58cc20747c136bb320c9b13d65d2bf4cf58"}} :ns-default build} - :clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2023.01.16"}}}}} + :clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2023.12.15"}}}}}