Skip to content

Commit 38f0fae

Browse files
ci: antq library versions scheduled GitHub workflow
Scheduled workflow at 04:00 UTC every day, reports on state of libraries in deps.edn aliases and GitHub workflow action versions Version check workflow can also be triggered manually from the GitHub actions page of the project
1 parent 3d86e8c commit 38f0fae

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

.github/workflows/quality-checks.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
uses: actions/checkout@v3.5.0
1919
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."
2020

21-
- name: "Version Checks"
22-
uses: liquidz/antq-action@main
23-
2421
- name: "Install tools"
2522
uses: DeLaGuardo/setup-clojure@10.3
2623
with:
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
# ------------------------------------------
3+
# Scheduled check of versions
4+
# - insight as to when to push version updates
5+
# to Practialli Clojure CLI Config
6+
#
7+
# Using liquidz/anta to check:
8+
# - GitHub workflows
9+
# - deps.edn
10+
# ------------------------------------------
11+
12+
name: "Scheduled Version Check"
13+
on:
14+
schedule:
15+
- cron: '0 4 * * *' # at 04:04:04 ever day
16+
workflow_dispatch: # Run manually via GitHub Actions Workflow page
17+
18+
jobs:
19+
scheduled-version-check:
20+
name: "Scheduled Version Check"
21+
runs-on: ubuntu-latest
22+
steps:
23+
- run: echo "🚀 Job automatically triggered by ${{ github.event_name }}"
24+
- run: echo "🐧 Job running on ${{ runner.os }} server"
25+
- run: echo "🐙 Using ${{ github.ref }} branch from ${{ github.repository }} repository"
26+
27+
- name: "Checkout code"
28+
uses: actions/checkout@v3.5.0
29+
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."
30+
31+
- name: "Setup Antq"
32+
uses: liquidz/antq-action@main
33+
34+
- name: "Antq Check versions"
35+
run: antq --error-format="::error file={{file}}::{{message}}"
36+
37+
- run: echo "🎨 library versions checked with liquidz/antq"
38+
39+
- run: echo "🍏 Job status is ${{ job.status }}."

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*** nREPL support for `:repl/inspect`
88
*** `project/templates` alias for use with deps-new, providing Practialli designed project templates
99
*** `project/create-local` to support development of Practialli project templates
10+
*** ci: antq library versions scheduled GitHub workflow
1011
** Changed
1112
*** remove find-deps from `:repl/reloaded` and `:dev/reloaded` aliases to avoid reload clash with add-libs dependency
1213
*** updated `project/create` to include Practialli designed project templates as a dependency

0 commit comments

Comments
 (0)