mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 11:28:38 +00:00
fix(ci): use versioned actionlint checksum asset
This commit is contained in:
2
.github/workflows/workflow-sanity.yml
vendored
2
.github/workflows/workflow-sanity.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
archive="actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
|
archive="actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
|
||||||
base_url="https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}"
|
base_url="https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}"
|
||||||
curl -sSfL -o "${archive}" "${base_url}/${archive}"
|
curl -sSfL -o "${archive}" "${base_url}/${archive}"
|
||||||
curl -sSfL -o checksums.txt "${base_url}/checksums.txt"
|
curl -sSfL -o checksums.txt "${base_url}/actionlint_${ACTIONLINT_VERSION}_checksums.txt"
|
||||||
grep " ${archive}\$" checksums.txt | sha256sum -c -
|
grep " ${archive}\$" checksums.txt | sha256sum -c -
|
||||||
tar -xzf "${archive}" actionlint
|
tar -xzf "${archive}" actionlint
|
||||||
sudo install -m 0755 actionlint /usr/local/bin/actionlint
|
sudo install -m 0755 actionlint /usr/local/bin/actionlint
|
||||||
|
|||||||
Reference in New Issue
Block a user