From cad020769d90a4c68792c90ceb4f0b6d768a3a66 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Fri, 27 Mar 2020 18:24:54 -0500 Subject: [PATCH] Lint shell scripts with shellcheck --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86c394f..83a917a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,8 +62,12 @@ jobs: # to be missing after the checkout run: | apt-get -qq -y update - apt-get -qq -y install git + apt-get -qq -y install git shellcheck git init . + - name: Lint with Shellcheck + run: | + shellcheck tests/*.sh + shellcheck scripts/*.sh - name: Install dependencies run: | python -m pip install --upgrade --no-cache-dir pip setuptools wheel