testssl.sh/.github/workflows/shellcheck.yml
2023-10-31 10:48:02 +01:00

20 lines
450 B
YAML

---
name: Shellcheck
on: [push, pull_request]
permissions:
contents: read
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
env:
LANG: C.UTF-8
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt update && sudo apt install -y shellcheck && shellcheck --version
- name: Check shell scripts
run: shellcheck -x -P "SCRIPTDIR"/utils --severity=error testssl.sh