Skip to content

Scheduled Version Check #12

Scheduled Version Check

Scheduled Version Check #12

---
# ------------------------------------------
# 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 was cloned to the runner."
- name: "Antq Check versions"
uses: liquidz/antq-action@main
with:
excludes: "org.clojure/tools.deps.alpha"
- run: echo "🎨 library versions checked with liquidz/antq"
- run: echo "🍏 Job status is ${{ job.status }}."