ci: support x86 in the checks
Some checks failed
actionlint check / actionlint check (pull_request) Failing after 3s
GitLeaks check / GitLeaks check (pull_request) Failing after 38s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 41s
dotenv-linter check / dotenv-linter check (pull_request) Failing after 39s
hadolint check / hadolint check (pull_request) Failing after 37s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 53s
htmlhint check / htmlhint check (pull_request) Successful in 56s
markdownlint check / markdownlint check (pull_request) Successful in 54s
Prettier check / Prettier check (pull_request) Successful in 30s
Rust check / Rust check (pull_request) Has been cancelled
Stylelint check / Stylelint check (pull_request) Successful in 35s
ShellCheck check / ShellCheck check (pull_request) Successful in 40s
yamllint check / yamllint check (pull_request) Successful in 46s
checkov check / checkov check (pull_request) Successful in 6m50s

This commit is contained in:
2026-02-09 22:33:27 +01:00
parent 70e7021a6e
commit e23e4de534
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