systab/.forgejo/workflows/ci.yml
Matthias Johnson 8a3939bf11
Some checks failed
CI / shellcheck (push) Failing after 16s
purge github mirror badge
2026-02-16 20:36:13 -07:00

24 lines
637 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- uses: actions/checkout@v4
- name: Install ShellCheck
run: apt-get update && apt-get install -y shellcheck
- name: Run ShellCheck
run: shellcheck systab
- name: Purge GitHub mirror badge cache
run: |
curl -sL https://github.com/opennomad/systab \
| grep -oP 'https://camo\.githubusercontent\.com/[^"]+' \
| sort -u \
| xargs -I{} curl -sX PURGE '{}'