diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fc1694..03e883e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,17 @@ jobs: with: persist-credentials: false + - name: Download shellcheck + run: | + curl --fail --silent --show-error --location --output /tmp/shellcheck.tar.xz \ + "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.x86_64.tar.xz" + echo "8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198 /tmp/shellcheck.tar.xz" | sha256sum -c - + tar --extract --xz --file /tmp/shellcheck.tar.xz --directory /tmp + shell: bash + - name: Shellcheck - uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0 - with: - scandir: "." + run: find . -type f -name "*.sh" -print0 | xargs -0 /tmp/shellcheck-v0.11.0/shellcheck + shell: bash - name: Download actionlint run: bash <(curl --fail --silent --show-error --location "https://raw.githubusercontent.com/rhysd/actionlint/011a6d15e749bb3f2d771eed9c7aa0e7e3e10ee7/scripts/download-actionlint.bash")