Merge pull request #681 from robiiinos/ci/lint

ci: make linter great again
This commit is contained in:
Stanislas 2020-06-26 23:27:52 +02:00 committed by GitHub
commit 8645298d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,19 +7,21 @@ on:
- master
name: Lint
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: shellcheck
uses: ludeeus/action-shellcheck@0.0.1
uses: ludeeus/action-shellcheck@0.2.1
env:
SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: shfmt
uses: bltavares/actions/shfmt@master
env: