From 624668ada7422ea16ba5fe3ffe8609dcc279d34c Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Tue, 18 Nov 2025 14:16:54 -0500 Subject: [PATCH] ensure tests do not use go test cache Signed-off-by: Alex Goodman --- Taskfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 137920905..e7d9c3798 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -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"