mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-31 22:09:44 +01:00
add shellcheck to ci
This commit is contained in:
parent
cbb32d375b
commit
502c08ce54
20
.github/workflows/shellcheck.yml
vendored
Normal file
20
.github/workflows/shellcheck.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user