From 8fb3388ea96928a1b117eece375cccbc103bea51 Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Mon, 2 Aug 2021 14:10:04 +0300 Subject: [PATCH] Run shellcheck on scripts --- .github/workflows/checks.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/checks.yaml diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml new file mode 100644 index 0000000..9d8348d --- /dev/null +++ b/.github/workflows/checks.yaml @@ -0,0 +1,22 @@ +--- +name: Static checks +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + checks: + name: ${{ matrix.check }} + runs-on: ubuntu-latest + strategy: + matrix: + check: [ shellcheck ] + steps: + - name: Checkout current PR + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Run ${{ matrix.check }} + run: ${{ matrix.check }} *.sh