Skip to content

Commit

Permalink
Merge pull request #175 from EA31337/dev-shellcheck
Browse files Browse the repository at this point in the history
Adds GHA workflow for shell check [GH-173]
  • Loading branch information
kenorb authored Apr 29, 2020
2 parents 745b3a8 + ba541d0 commit 704ccac
Show file tree
Hide file tree
Showing 15 changed files with 851 additions and 727 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ jobs:
ShellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Shell Check
uses: bewuethr/shellcheck-action@v2
uses: luizm/action-sh-checker@master
env:
SHELLCHECK_OPTS: >
-e SC1004,SC1083,SC1090,SC1091,SC1117,SC2004,SC2005,SC2015,SC2027
-e SC2032,SC2033,SC2034,SC2035,SC2046,SC2068,SC2070,SC2071,SC2086
-e SC2091,SC2103,SC2116,SC2124,SC2128,SC2145,SC2154,SC2155,SC2162
-e SC2164,SC2166,SC2181,SC2188,SC2206,SC2221,SC2222,SC2230
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHELLCHECK_OPTS: -e SC1004,SC1083,SC1090,SC1091,SC1117,SC2004,SC2005,SC2015,SC2027,SC2032,SC2033,SC2034,SC2035,SC2046,SC2068,SC2070,SC2071,SC2086,SC2091,SC2103,SC2116,SC2124,SC2128,SC2145,SC2154,SC2155,SC2162,SC2164,SC2166,SC2181,SC2188,SC2206,SC2221,SC2222,SC2230
with:
sh_checker_comment: true
sh_checker_shfmt_disable: true
MQL:
runs-on: ubuntu-latest
steps:
Expand Down
Loading

0 comments on commit 704ccac

Please sign in to comment.