2026-02-15 11:26:27 -07:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches: [main]
|
|
|
|
|
pull_request:
|
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
shellcheck:
|
|
|
|
|
runs-on: ubuntu-latest
|
2026-02-16 09:20:45 -07:00
|
|
|
container: ghcr.io/catthehacker/ubuntu:act-22.04
|
2026-02-15 11:26:27 -07:00
|
|
|
steps:
|
2026-02-16 09:20:45 -07:00
|
|
|
- uses: actions/checkout@v4
|
2026-02-15 11:26:27 -07:00
|
|
|
- name: Install ShellCheck
|
2026-02-16 09:20:45 -07:00
|
|
|
run: apt-get update && apt-get install -y shellcheck
|
2026-02-15 11:26:27 -07:00
|
|
|
- name: Run ShellCheck
|
|
|
|
|
run: shellcheck systab
|
2026-02-16 20:36:13 -07:00
|
|
|
- name: Purge GitHub mirror badge cache
|
|
|
|
|
run: |
|
2026-02-24 23:08:29 -07:00
|
|
|
curl -sL \
|
|
|
|
|
-H "Accept: application/vnd.github.html+json" \
|
|
|
|
|
"https://api.github.com/repos/opennomad/systab/readme" \
|
2026-02-16 20:36:13 -07:00
|
|
|
| grep -oP 'https://camo\.githubusercontent\.com/[^"]+' \
|
|
|
|
|
| sort -u \
|
2026-02-24 17:54:41 -07:00
|
|
|
| xargs -r -I{} curl -sX PURGE '{}' || true
|