ci: support x86 in the checks
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 22s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 1m8s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 56s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 1m15s
GitLeaks check / GitLeaks check (pull_request) Successful in 12s
hadolint check / hadolint check (pull_request) Successful in 21s
markdownlint check / markdownlint check (pull_request) Successful in 35s
htmlhint check / htmlhint check (pull_request) Successful in 41s
Prettier check / Prettier check (pull_request) Successful in 28s
ShellCheck check / ShellCheck check (pull_request) Successful in 46s
Stylelint check / Stylelint check (pull_request) Successful in 42s
checkov check / checkov check (pull_request) Successful in 2m48s
yamllint check / yamllint check (pull_request) Successful in 45s
Rust check / Rust check (pull_request) Successful in 17m53s

This commit is contained in:
2026-02-09 22:33:27 +01:00
parent 70e7021a6e
commit 11c150c1e8
4 changed files with 48 additions and 8 deletions

View File

@@ -26,7 +26,16 @@ jobs:
DOTENV_LINTER_VERSION="v3.3.0"
INSTALL_SCRIPT_CHECKSUM="3b883cbc2bc3b48b6acd794802326a50fcbfeff7d5cd61e457c54fd6072bd809 dotenv-linter-install.sh"
DOTENV_LINTER_CHECKSUM="4bf3efb743a1e3383ab3407ff48c6147dd527dac35b736e224a26425df00a2ee dotenv-linter"
ARCH="$(uname -m)"
if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
DOTENV_LINTER_CHECKSUM="cfd8c16319d8ebfd7849016ed381f239e5e26e4ea5d957a26e32c12813658f26 dotenv-linter"
elif [ "$ARCH" = "aarch64" ] || [ "$ARCH" = "arm64" ]; then
DOTENV_LINTER_CHECKSUM="4bf3efb743a1e3383ab3407ff48c6147dd527dac35b736e224a26425df00a2ee dotenv-linter"
else
echo "Unsupported architecture: $ARCH" >&2
exit 1
fi
wget -O dotenv-linter-install.sh "$INSTALL_SCRIPT_URL"
echo "$INSTALL_SCRIPT_CHECKSUM" | sha256sum --check