aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linter-automated.yaml
blob: 0c3420a623ed38f218b3268a502371a1e0504e0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: "CI - Shell Script Linter"
on: 
  push:
    branches:
      - main
  pull_request:

jobs:
  shellchecker:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Shell Linter
      uses: azohra/shell-linter@v0.6.0
      with:
        path: "src/**/*.sh"
        severity: "error" # [style, info, warning, error]
      env:
        SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison