mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-15 03:18:28 +00:00
Add ShellCheck GitHub workflow
This commit is contained in:
parent
a228c7b25b
commit
88d3cf87e2
1 changed files with 22 additions and 0 deletions
22
.github/workflows/shell.yml
vendored
Normal file
22
.github/workflows/shell.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: ShellCheck
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
name: ShellCheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Run ShellCheck for shell scripts
|
||||||
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
with:
|
||||||
|
severity: style
|
||||||
|
scandir: .
|
||||||
|
format: gcc
|
||||||
|
version: stable
|
Loading…
Reference in a new issue