Skip to content

Commit 6c7e210

Browse files
committed
chore: update workflow
1 parent 6cf187c commit 6c7e210

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_linux_arm64_wheels-gh.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
echo "Detected OS: $DISTRO_ID:$DISTRO_VERSION"
4747
4848
# Update grype vulnerability database
49-
grype db update
49+
$HOME/.local/bin/grype db update
5050
5151
# Check SQLite vulnerabilities in installed packages
5252
echo "Scanning SQLite packages for vulnerabilities..."
53-
GRYPE_RAW_OUTPUT=$(grype dir:/var/lib/dpkg --distro "$DISTRO_ID:$DISTRO_VERSION" --scope all-layers 2>/dev/null || true)
53+
GRYPE_RAW_OUTPUT=$($HOME/.local/bin/grype dir:/var/lib/dpkg --distro "$DISTRO_ID:$DISTRO_VERSION" --scope all-layers 2>/dev/null || true)
5454
echo "Raw grype output:"
5555
echo "$GRYPE_RAW_OUTPUT"
5656
@@ -213,7 +213,7 @@ jobs:
213213
for file in $FILES_TO_SCAN; do
214214
if [ -f "$file" ]; then
215215
echo "=== Scanning $file ==="
216-
SCAN_OUTPUT=$(grype "$file" 2>/dev/null || true)
216+
SCAN_OUTPUT=$($HOME/.local/bin/grype "$file" 2>/dev/null || true)
217217
echo "$SCAN_OUTPUT"
218218
219219
if echo "$SCAN_OUTPUT" | grep -qi sqlite; then

0 commit comments

Comments
 (0)