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

  1. ---
  2. name: Static checks
  3. on:
  4. push:
  5. branches: [ main ]
  6. pull_request:
  7. branches: [ main ]
  8. jobs:
  9. checks:
  10. name: ${{ matrix.check }}
  11. runs-on: ubuntu-latest
  12. strategy:
  13. matrix:
  14. check: [ shellcheck ]
  15. steps:
  16. - name: Checkout current PR
  17. uses: actions/checkout@v2
  18. with:
  19. fetch-depth: 0
  20. - name: Run ${{ matrix.check }}
  21. run: ${{ matrix.check }} *.sh