Skip to content

Commit eacecfb

Browse files
aliases: update/dependency-versions automatically updates everything to new versions
Add make task to check for newer versions of library dependency and GitHub actions for the current project. Clojure `deps.edn` and GitHub workflow `.yaml` files are updated if a new version is found
1 parent 77b9a82 commit eacecfb

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CHANGELOG.org

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#+TITLE: Changelog
22

33
* Unreleased
4+
** Added
5+
- aliases: `update/dependency-versions` automatically updates everything to new versions
46

57
* 2025-07-01
68
** Updated

deps.edn

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,23 @@
310310
:force false
311311
:no-changes true}}
312312

313+
;; Check for latest versions of dependencies & GitHub actions
314+
;; automatically update all versions
315+
:update/dependency-versions
316+
{:replace-paths ["."]
317+
:replace-deps {com.github.liquidz/antq {:mvn/version "2.11.1276"}
318+
org.slf4j/slf4j-nop {:mvn/version "2.0.17"}}
319+
:exec-fn antq.tool/outdated
320+
:exec-args {:directory ["."] ; default
321+
:exclude ["org.clojure/tools.deps.alpha"
322+
"org.clojure/clojurescript"]
323+
;; :focus ["com.github.liquidz/antq"]
324+
:skip ["boot" "leiningen"]
325+
:reporter "table" ; json edn format
326+
:verbose false
327+
:upgrade true
328+
:force true}}
329+
313330
;; Carve - search through code for unused vars and remove them
314331
;; clojure -M:search/unused-vars --opts '{:paths ["src" "test"]}'
315332
:search/unused-vars

0 commit comments

Comments
 (0)