add lint github action

This commit is contained in:
Roni Väyrynen
2021-07-01 13:38:37 +03:00
committed by GitHub
parent 92b42c73ff
commit 19986d4be8

18
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: 'lint'
on:
push:
paths:
- 'xo-install.sh'
- 'xo-appliance.sh'
pull_request:
paths:
- 'xo-install.sh'
- 'xo-appliance.sh'
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: run shellcheck
uses: ludeeus/action-shellcheck@master