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 - master
name: Lint name: Lint
jobs: jobs:
shellcheck: shellcheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: shellcheck - name: shellcheck
uses: ludeeus/action-shellcheck@0.0.1 uses: ludeeus/action-shellcheck@0.2.1
env: env:
SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009 SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
shfmt: shfmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: shfmt - name: shfmt
uses: bltavares/actions/shfmt@master uses: bltavares/actions/shfmt@master
env: env: