You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
424 B
22 lines
424 B
---
|
|
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
|