mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-11-22 08:35:17 +01:00
add shellcheck to ci
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user