File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,17 @@ jobs:
4949 uses : actions/setup-python@v2
5050 with :
5151 python-version : 3.8
52+ # - name: Update APT Package Lists
53+ # run: sudo apt-get update
5254 - name : Install shfmt
5355 run : GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
5456 - name : Install shellcheck
55- run : brew install shellcheck
57+ env :
58+ scversion : stable # Or latest, vxx, etc
59+ run : |
60+ wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv "shellcheck-${scversion}/shellcheck"
61+ sudo cp "shellcheck-${scversion}/shellcheck" /usr/bin/
62+ shellcheck --version
5663 - name : Install pre-commit
5764 run : python3 -m pip install -r test/lint-requirements.txt
5865 - name : Run lint
You can’t perform that action at this time.
0 commit comments