Skip to content

Commit

Permalink
Lint shell scripts with shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Mar 27, 2020
1 parent 35dab99 commit b22c440
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install utilities
run: |
apt-get -qq -y update
apt-get -qq -y install shellcheck
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand All @@ -35,6 +39,11 @@ jobs:
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
run: |
black --check --diff --verbose .
- name: Lint with Shellcheck
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
run: |
shellcheck tests/*.sh
shellcheck scripts/*.sh
- name: Check MANIFEST
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
run: |
Expand Down

0 comments on commit b22c440

Please sign in to comment.