File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ jobs:
324324 sed -i '' 's/^Example/#Example/' "$CLAMAV_ETC/freshclam.conf" 2>/dev/null || true
325325 echo "DatabaseMirror database.clamav.net" >> "$CLAMAV_ETC/freshclam.conf"
326326 fi
327- freshclam --quiet
327+ freshclam --quiet --no-warnings 2>/dev/null || freshclam --quiet 2>/dev/null || echo "WARNING: freshclam update failed, using bundled signatures"
328328 echo "=== ClamAV scan (macOS) ==="
329329 clamscan --no-summary ./codebase-memory-mcp
330330 echo "=== ClamAV: clean ==="
Original file line number Diff line number Diff line change @@ -315,14 +315,14 @@ jobs:
315315 if : matrix.variant == 'standard' && startsWith(matrix.os, 'macos')
316316 run : |
317317 brew install clamav > /dev/null 2>&1
318- # Create freshclam config if missing
319318 CLAMAV_ETC=$(brew --prefix)/etc/clamav
320319 if [ ! -f "$CLAMAV_ETC/freshclam.conf" ]; then
321320 cp "$CLAMAV_ETC/freshclam.conf.sample" "$CLAMAV_ETC/freshclam.conf" 2>/dev/null || true
322321 sed -i '' 's/^Example/#Example/' "$CLAMAV_ETC/freshclam.conf" 2>/dev/null || true
323322 echo "DatabaseMirror database.clamav.net" >> "$CLAMAV_ETC/freshclam.conf"
324323 fi
325- freshclam --quiet
324+ # Download signatures (--no-warnings suppresses X509 store errors on macOS)
325+ freshclam --quiet --no-warnings 2>/dev/null || freshclam --quiet 2>/dev/null || echo "WARNING: freshclam update failed, using bundled signatures"
326326 echo "=== ClamAV scan (macOS) ==="
327327 clamscan --no-summary ./codebase-memory-mcp
328328 echo "=== ClamAV: clean ==="
You can’t perform that action at this time.
0 commit comments