Move shellcheck into tests workflow collecting all kinds of testing

pull/485/head
Yaroslav Halchenko 2 years ago committed by Thomas Tanon
parent aeeabf5d1c
commit 6f37c4c9c9
  1. 23
      .github/workflows/shellcheck.yml
  2. 7
      .github/workflows/tests.yml

@ -1,23 +0,0 @@
---
name: Shellcheck
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
name: Check shell scripts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y shellcheck
- name: shellcheck
run: |
git grep -l '^#\( *shellcheck \|!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)\)' | xargs shellcheck

@ -383,3 +383,10 @@ jobs:
mode: coverage
sanitizer: coverage
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install -y shellcheck
- run: git grep -l '^#\( *shellcheck \|!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)\)' | xargs shellcheck

Loading…
Cancel
Save