ci: support x86 in the checks
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 39s
GitLeaks check / GitLeaks check (pull_request) Successful in 35s
ShellCheck check / ShellCheck check (pull_request) Successful in 2m8s
Rust check / Rust check (pull_request) Has been cancelled
Stylelint check / Stylelint check (pull_request) Successful in 2m11s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 3m23s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 3m30s
dotenv-linter check / dotenv-linter check (pull_request) Failing after 3m27s
htmlhint check / htmlhint check (pull_request) Successful in 3m31s
Prettier check / Prettier check (pull_request) Successful in 3m26s
markdownlint check / markdownlint check (pull_request) Successful in 3m27s
yamllint check / yamllint check (pull_request) Successful in 55s
hadolint check / hadolint check (pull_request) Failing after 3m42s
checkov check / checkov check (pull_request) Successful in 3m55s

This commit is contained in:
2026-02-09 22:33:27 +01:00
parent 70e7021a6e
commit 428e312e43

View File

@@ -26,7 +26,17 @@ jobs:
ACTIONLINT_VERSION="1.7.5"
INSTALL_SCRIPT_CHECKSUM="99ab9f1d97c31c9a051e6902305f7ea9f48e7e7e1b0ee41f64aa831c86655168 download-actionlint.bash"
ACTIONLINT_CHECKSUM="3d74253aa0cf645e6224fd53f2d56776998c7c05a0d3c12307463285515898f8 actionlint"
arch="$(uname -m)"
if [ "$arch" = "x86_64" ] || [ "$arch" = "amd64" ]; then
ACTIONLINT_CHECKSUM="76e1b008a05f55effccb39355d76c74e5312fefa6c98253032a499b227d01149 actionlint"
elif [ "$arch" = "aarch64" ] || [ "$arch" = "arm64" ]; then
ACTIONLINT_CHECKSUM="3d74253aa0cf645e6224fd53f2d56776998c7c05a0d3c12307463285515898f8 actionlint"
else
echo "Unsupported architecture: $arch" >&2
exit 1
fi
wget -O download-actionlint.bash "$INSTALL_SCRIPT_URL"
echo "$INSTALL_SCRIPT_CHECKSUM" | sha256sum --check