ci: Upgrade shellcheck version

Gets the latest shellcheck binary release.
Closes #5567
This commit is contained in:
Florian Bruhin 2020-07-06 15:44:48 +02:00
parent 53203a8ed6
commit ffb34c3034
1 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,13 @@ jobs:
run: |
[[ ${{ matrix.testenv }} == eslint ]] && npm install -g eslint
[[ ${{ matrix.testenv }} == docs ]] && sudo apt-get install --no-install-recommends asciidoc
if [[ ${{ matrix.testenv }} == shellcheck ]]; then
scversion="stable"
bindir="$HOME/.local/bin"
mkdir -p "$bindir"
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/$scversion/shellcheck-$scversion.linux.x86_64.tar.xz" | tar -xJv --strip-components 1 -C "$bindir" shellcheck-$scversion/shellcheck
echo "::add-path::$bindir"
fi
python -m pip install -U pip
python -m pip install -U -r misc/requirements/requirements-tox.txt
- name: "Run ${{ matrix.testenv }}"