trying again with ci pipeline
Some checks failed
CI / Rust Blocking Checks (push) Failing after 1m42s
CI / Web Blocking Checks (push) Failing after 29s
CI / Security Blocking Checks (push) Successful in 9s
CI / Web Advisory Checks (push) Successful in 36s
CI / Security Advisory Checks (push) Successful in 1m28s

This commit is contained in:
2026-03-04 22:44:37 -06:00
parent 95765f50a8
commit 6a5a3c2b78
2 changed files with 27 additions and 3 deletions

View File

@@ -81,8 +81,21 @@ jobs:
- name: Install Gitleaks
run: |
mkdir -p "$HOME/bin"
curl -sSfL https://raw.githubusercontent.com/gitleaks/gitleaks/master/install.sh \
| sh -s -- -b "$HOME/bin" v8.24.2
GITLEAKS_VERSION="8.24.2"
ARCH="$(uname -m)"
case "$ARCH" in
x86_64) ARCH="x64" ;;
aarch64|arm64) ARCH="arm64" ;;
*)
echo "Unsupported architecture: $ARCH"
exit 1
;;
esac
curl -sSfL \
-o /tmp/gitleaks.tar.gz \
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_${ARCH}.tar.gz"
tar -xzf /tmp/gitleaks.tar.gz -C "$HOME/bin" gitleaks
chmod +x "$HOME/bin/gitleaks"
- name: Gitleaks
run: |