From 80c4abc8585b547f6180d8a31b747dcb5bf77c67 Mon Sep 17 00:00:00 2001 From: Bill Howe Date: Mon, 29 Jan 2024 19:24:14 -0600 Subject: [PATCH] - Project version bumps - github actions simplification. --- .github/workflows/clojure.yml | 18 +++++++++--------- project.clj | 24 ++++++++++++++++-------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/.github/workflows/clojure.yml b/.github/workflows/clojure.yml index 423ec4b..96554f6 100644 --- a/.github/workflows/clojure.yml +++ b/.github/workflows/clojure.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: # JDK LTS: 8, 11, 17 - jdk_version: [8, 11, 15, 16] + jdk_version: [8, 11, 17] os: [ubuntu-latest] container: @@ -22,13 +22,13 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Dependencies - run: lein deps - - name: Version - run: lein version - - name: Build - run: lein compile + - name: Info + run: | + lein version + - name: Package + run: | + lein deps + lein compile + lein uberjar - name: Tests run: lein test - - name: Package - run: lein uberjar diff --git a/project.clj b/project.clj index 97b4706..566945a 100644 --- a/project.clj +++ b/project.clj @@ -1,22 +1,30 @@ -(defproject lemme-know-bot "0.6.0" +(defproject lemme-know-bot "0.7.0" + + ;;; Project Metadata :description "A Telegram Bot that mentions you when the specified text in a chat matches." :url "https://github.com/wdhowe/lemme-know-bot" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" :url "https://www.eclipse.org/legal/epl-2.0/"} - :dependencies [[com.taoensso/timbre "5.2.1"] + + + ;;; Dependencies, Plugins + :dependencies [[com.taoensso/timbre "6.3.1"] [environ "1.2.0"] [org.clojure/clojure "1.11.1"] - [telegrambot-lib "2.0.0"] - [cheshire "5.10.2"]] - :main ^:skip-aot lemme-know-bot.core - :target-path "target/%s" + [telegrambot-lib "2.12.0"] + [cheshire "5.12.0"]] + + ;;; Profiles :profiles {:uberjar {:aot :all} :dev [:project/dev :profiles/dev] :test [:project/test :profiles/test] - ;; only edit :profiles/* in profiles.clj + ;; only edit :profiles/* in profiles.clj :profiles/dev {} :profiles/test {} :project/dev {:env {:log-level "debug"} :plugins [[lein-environ "1.1.0"]]} :project/test {:env {:log-level "info"} - :plugins [[lein-environ "1.1.0"]]}}) + :plugins [[lein-environ "1.1.0"]]}} + + ;;; Running Project Code + :main ^:skip-aot lemme-know-bot.core)