backup-container/.forgejo/workflows/shellcheck.yml

18 lines
414 B
YAML

name: ShellCheck
on:
push:
jobs:
shellcheck:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- name: Install ShellCheck
run: apt-get update && apt-get install -y shellcheck
- name: Run ShellCheck
run: find ./src -name '*.sh' -exec shellcheck {} +