ci: support x86 in the checks
All checks were successful
conventional pull request title check / conventional pull request title check (pull_request) Successful in 12s
actionlint check / actionlint check (pull_request) Successful in 19s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 19s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 21s
hadolint check / hadolint check (pull_request) Successful in 19s
GitLeaks check / GitLeaks check (pull_request) Successful in 23s
htmlhint check / htmlhint check (pull_request) Successful in 46s
Prettier check / Prettier check (pull_request) Successful in 43s
markdownlint check / markdownlint check (pull_request) Successful in 48s
Stylelint check / Stylelint check (pull_request) Successful in 43s
ShellCheck check / ShellCheck check (pull_request) Successful in 52s
yamllint check / yamllint check (pull_request) Successful in 1m2s
checkov check / checkov check (pull_request) Successful in 4m54s
Rust check / Rust check (pull_request) Successful in 12m23s
All checks were successful
conventional pull request title check / conventional pull request title check (pull_request) Successful in 12s
actionlint check / actionlint check (pull_request) Successful in 19s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 19s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 21s
hadolint check / hadolint check (pull_request) Successful in 19s
GitLeaks check / GitLeaks check (pull_request) Successful in 23s
htmlhint check / htmlhint check (pull_request) Successful in 46s
Prettier check / Prettier check (pull_request) Successful in 43s
markdownlint check / markdownlint check (pull_request) Successful in 48s
Stylelint check / Stylelint check (pull_request) Successful in 43s
ShellCheck check / ShellCheck check (pull_request) Successful in 52s
yamllint check / yamllint check (pull_request) Successful in 1m2s
checkov check / checkov check (pull_request) Successful in 4m54s
Rust check / Rust check (pull_request) Successful in 12m23s
This commit is contained in:
9
.github/workflows/actionlint-check.yaml
vendored
9
.github/workflows/actionlint-check.yaml
vendored
@@ -26,7 +26,16 @@ jobs:
|
||||
ACTIONLINT_VERSION="1.7.5"
|
||||
|
||||
INSTALL_SCRIPT_CHECKSUM="99ab9f1d97c31c9a051e6902305f7ea9f48e7e7e1b0ee41f64aa831c86655168 download-actionlint.bash"
|
||||
|
||||
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
|
||||
|
||||
9
.github/workflows/dotenv-linter-check.yaml
vendored
9
.github/workflows/dotenv-linter-check.yaml
vendored
@@ -26,7 +26,16 @@ jobs:
|
||||
DOTENV_LINTER_VERSION="v3.3.0"
|
||||
|
||||
INSTALL_SCRIPT_CHECKSUM="3b883cbc2bc3b48b6acd794802326a50fcbfeff7d5cd61e457c54fd6072bd809 dotenv-linter-install.sh"
|
||||
|
||||
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
|
||||
|
||||
17
.github/workflows/gitleaks-check.yaml
vendored
17
.github/workflows/gitleaks-check.yaml
vendored
@@ -22,10 +22,21 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
|
||||
VERSION="v8.22.0"
|
||||
CHECKSUM="3f95fef7e361adafed2b1bb9c591ba3bc6b595b4f296b346257301b7bf04be15 gitleaks.tar.gz"
|
||||
VERSION="8.22.0"
|
||||
|
||||
wget -O "gitleaks.tar.gz" "https://github.com/gitleaks/gitleaks/releases/download/$VERSION/gitleaks_8.22.0_linux_arm64.tar.gz"
|
||||
ARCH="$(uname -m)"
|
||||
if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
|
||||
TARBALL="gitleaks_${VERSION}_linux_x64.tar.gz"
|
||||
CHECKSUM="ad66410e1e0bf262f864b6837b09cfa585f6b5816164023ee64847d3f7415eed gitleaks.tar.gz"
|
||||
elif [ "$ARCH" = "aarch64" ] || [ "$ARCH" = "arm64" ]; then
|
||||
TARBALL="gitleaks_${VERSION}_linux_arm64.tar.gz"
|
||||
CHECKSUM="3f95fef7e361adafed2b1bb9c591ba3bc6b595b4f296b346257301b7bf04be15 gitleaks.tar.gz"
|
||||
else
|
||||
echo "Unsupported architecture: $ARCH" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
wget -O "gitleaks.tar.gz" "https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/${TARBALL}"
|
||||
echo "$CHECKSUM" | sha256sum --check
|
||||
|
||||
tar xzf gitleaks.tar.gz
|
||||
|
||||
17
.github/workflows/hadolint-check.yaml
vendored
17
.github/workflows/hadolint-check.yaml
vendored
@@ -22,10 +22,21 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
|
||||
VERSION="v2.12.0"
|
||||
CHECKSUM="5798551bf19f33951881f15eb238f90aef023f11e7ec7e9f4c37961cb87c5df6 hadolint"
|
||||
VERSION="2.12.0"
|
||||
ARCH="$(uname -m)"
|
||||
|
||||
wget -O hadolint "https://github.com/hadolint/hadolint/releases/download/$VERSION/hadolint-Linux-arm64"
|
||||
if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
|
||||
ASSET="hadolint-Linux-x86_64"
|
||||
CHECKSUM="56de6d5e5ec427e17b74fa48d51271c7fc0d61244bf5c90e828aab8362d55010 hadolint"
|
||||
elif [ "$ARCH" = "aarch64" ] || [ "$ARCH" = "arm64" ]; then
|
||||
ASSET="hadolint-Linux-arm64"
|
||||
CHECKSUM="5798551bf19f33951881f15eb238f90aef023f11e7ec7e9f4c37961cb87c5df6 hadolint"
|
||||
else
|
||||
echo "Unsupported architecture: $ARCH" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
wget -O hadolint "https://github.com/hadolint/hadolint/releases/download/v${VERSION}/${ASSET}"
|
||||
echo "$CHECKSUM" | sha256sum --check
|
||||
|
||||
chmod +x hadolint
|
||||
|
||||
Reference in New Issue
Block a user