chore(deps): update tools to latest versions (#3413)

* chore(deps): update tools to latest versions

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix linting

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
anchore-actions-token-generator[bot]
2024-11-12 15:53:27 +00:00
committed by GitHub
co-authored by spiffcs Alex Goodman
parent abd6abe186
commit ac8be4ad41
7 changed files with 23 additions and 12 deletions
@@ -61,6 +61,11 @@ test_negative_snapshot_download_asset() {
}
test_sboms_have_packages() {
if ! command -v jq &> /dev/null; then
echo "jq command not found. Please install jq or ensure it is in your PATH."
exit 1
fi
find "$(snapshot_dir)/" -name "*.sbom" -print0 | while IFS= read -r -d '' file; do
count=$(cat "$file" | jq ".artifacts | length")
if [ "$count" -lt 80 ]; then