Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ShellCheck check #55

Merged
merged 14 commits into from
Mar 9, 2022
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ jobs:
steps:
- uses: actions/checkout@v2
# Based on https://github.com/snyk/snyk/blob/master/.github/workflows/smoke-tests.yml

- name: Install ShellSpec
run: |
curl -fsSL https://git.io/shellspec | sh -s -- -y
sudo ln -s ${HOME}/.local/lib/shellspec/shellspec /usr/local/bin/shellspec
shellspec --version

- name: Run tests
working-directory: test
run: shellspec -f d

- name: Run ShellCheck
uses: ludeeus/[email protected]
env:
SHELLCHECK_OPTS: -e SC2059 -e SC2237 -e SC2004 -e SC2001
Loading