chore: Update security scan workflow and SQLite build script

This commit is contained in:
Jeremie Fraeys 2026-02-23 14:24:00 -05:00
parent 6d200b5ac2
commit 7d1ba75092
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View file

@ -43,12 +43,12 @@ jobs:
echo "ERROR: unsafe package usage detected"
exit 1
fi
echo "No unsafe package usage found"
echo "No unsafe package usage found"
- name: Verify dependencies
run: |
go mod verify
echo "Go modules verified"
echo "Go modules verified"
native-security:
name: Native Library Security

View file

@ -64,14 +64,14 @@ if [[ ! -f "${out_dir}/sqlite3.c" ]]; then
unzip -q "${tmp}/sqlite.zip" -d "${tmp}"
mv "${tmp}/sqlite-amalgamation-${SQLITE_VERSION}"/* "${out_dir}/"
echo "SQLite fetched to ${out_dir}"
echo "SQLite fetched to ${out_dir}"
else
echo "SQLite already present at ${out_dir}"
echo "SQLite already present at ${out_dir}"
fi
# Verify
if [[ -f "${out_dir}/sqlite3.c" && -f "${out_dir}/sqlite3.h" ]]; then
echo "SQLite ready:"
echo "SQLite ready:"
ls -lh "${out_dir}/sqlite3.c" "${out_dir}/sqlite3.h"
else
echo "Error: SQLite files not found in ${out_dir}"