From 19986d4be8196776edb7ae3dd485146c53df1574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Thu, 1 Jul 2021 13:38:37 +0300 Subject: [PATCH] add lint github action --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lint.yml 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