mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
ci/lint: install ShellCheck with dnf
The way ShellCheck is installed was changed in commit c056f99 (ci/gha/lint: install a recent shellcheck) to use the latest version v0.8.0 and remove some of the "shellcheck disable=..." annotations. Since then, Fedora 37 has been released and the ShellCheck package has been updated to v0.8.0. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
c48b5290dc
commit
095b3e84b7
13
.github/workflows/lint.yml
vendored
13
.github/workflows/lint.yml
vendored
@ -9,18 +9,7 @@ jobs:
|
||||
image: registry.fedoraproject.org/fedora:latest
|
||||
steps:
|
||||
- name: Install tools
|
||||
run: sudo dnf -y install git make python3-flake8 xz clang-tools-extra which codespell git-clang-format
|
||||
|
||||
# TODO: remove this and use ShellCheck from repo once F37 with ShellCheck 0.8.0 is out.
|
||||
- name: install shellcheck
|
||||
env:
|
||||
VERSION: v0.8.0
|
||||
BASEURL: https://github.com/koalaman/shellcheck/releases/download
|
||||
SHA256: f4bce23c11c3919c1b20bcb0f206f6b44c44e26f2bc95f8aa708716095fa0651
|
||||
run: |
|
||||
curl -sSfL --retry 5 $BASEURL/$VERSION/shellcheck-$VERSION.linux.x86_64.tar.xz |
|
||||
tar xfJ - -C /usr/local/bin --strip 1 shellcheck-$VERSION/shellcheck
|
||||
sha256sum --strict --check - <<<"$SHA256 /usr/local/bin/shellcheck"
|
||||
run: sudo dnf -y install git make python3-flake8 xz clang-tools-extra which codespell git-clang-format ShellCheck
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user