-
-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (41 loc) · 1.48 KB
/
scheduled-version-check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# ------------------------------------------
# Scheduled check of versions
# - use as non-urgent report on versions
# - Uses POSIX Cron syntax
# - Minute [0,59]
# - Hour [0,23]
# - Day of the month [1,31]
# - Month of the year [1,12]
# - Day of the week ([0,6] with 0=Sunday)
#
# Using liquidz/anta to check:
# - GitHub workflows
# - deps.edn
# ------------------------------------------
name: "Scheduled Version Check"
on:
schedule:
# - cron: "0 4 * * *" # at 04:04:04 ever day
# - cron: "0 4 * * 5" # at 04:04:04 ever Friday
- cron: "0 4 1 * *" # at 04:04:04 on first day of month
workflow_dispatch: # Run manually via GitHub Actions Workflow page
jobs:
scheduled-version-check:
name: "Scheduled Version Check"
runs-on: ubuntu-latest
steps:
- run: echo "🚀 Job automatically triggered by ${{ github.event_name }}"
- run: echo "🐧 Job running on ${{ runner.os }} server"
- run: echo "🐙 Using ${{ github.ref }} branch from ${{ github.repository }} repository"
- name: Checkout Code
uses: actions/checkout@v4
- run: echo "🐙 ${{ github.repository }} repository sparse-checkout to the CI runner."
- name: Antq Check Version
uses: liquidz/antq-action@main
with:
excludes: "org.clojure/tools.deps.alpha"
skips: "boot shadow-cljs leiningen"
# Summary
- run: echo "🎨 library versions checked with liquidz/antq"
- run: echo "🍏 Job status is ${{ job.status }}."