Browse Source

Run shellcheck on scripts

main
Gabriel Nagy 3 years ago
parent
commit
8fb3388ea9
No known key found for this signature in database GPG Key ID: A2B2C9C0F6B672B3
  1. 22
      .github/workflows/checks.yaml

22
.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
Loading…
Cancel
Save