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