chore: Update security scan workflow and SQLite build script
This commit is contained in:
parent
6d200b5ac2
commit
7d1ba75092
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue