features/.github/workflows/linter-automated.yaml

20 lines
429 B
YAML
Raw Normal View History

name: "CI - Shell Script Linter"
on:
push:
branches:
- main
pull_request:
jobs:
shellchecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Shell Linter
uses: azohra/shell-linter@v0.6.0
with:
path: "src/**/*.sh"
2022-06-13 23:11:10 +03:00
severity: "error" # [style, info, warning, error]
env:
SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison