Skip to content

Commit

Permalink
- Project version bumps
Browse files Browse the repository at this point in the history
- github actions simplification.
  • Loading branch information
wdhowe committed Jan 30, 2024
1 parent 2cce4f9 commit 69639d3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:
strategy:
matrix:
# JDK LTS: 8, 11, 17
jdk_version: [8, 11, 15, 16]
jdk_version: [8, 11, 17]
os: [ubuntu-latest]

container:
image: clojure:openjdk-${{ matrix.jdk_version }}-lein

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
24 changes: 16 additions & 8 deletions project.clj
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 69639d3

Please sign in to comment.