mirror of
https://github.com/anchore/syft.git
synced 2025-11-19 17:33:18 +01:00
ensure tests do not use go test cache
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
6edb1162c8
commit
624668ada7
@ -529,7 +529,7 @@ tasks:
|
||||
# remove all test observations prior to regenerating
|
||||
- find ./syft/pkg -type f -name "test-observations.json" -exec rm -f {} \;
|
||||
# this is required to update test observations; such evidence is used to update the packages.yaml
|
||||
- "go test ./syft/pkg/..."
|
||||
- "go test ./syft/pkg/... -count=1"
|
||||
- "go generate ./internal/capabilities/..."
|
||||
- "gofmt -s -w ./internal/capabilities"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user