diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..9fd273e --- /dev/null +++ b/.github/workflows/lint.yml @@ -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