Merge pull request #211 from nextcloud/enh/208/set-up-shellcheck

set up shellcheck
This commit is contained in:
Simon L 2022-02-11 11:46:26 +01:00 committed by GitHub
commit de7f47e973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 8 deletions

18
.github/workflows/shellcheck.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Shellcheck
on:
pull_request:
push:
jobs:
shellcheck:
name: Github Actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@master
with:
check_together: 'yes'
env:
SHELLCHECK_OPTS: --shell bash