CI: add go mod tidy to Go agent workflow to fix missing go.sum
All checks were successful
CI — P2 Drift (Go + Node) / agent (push) Successful in 1m42s
CI — P2 Drift (Go + Node) / saas (push) Successful in 56s

This commit is contained in:
2026-03-01 07:03:51 +00:00
parent d7f771e712
commit 1bafad5a86
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- name: Test agent
run: |
export PATH="/usr/local/go/bin:$HOME/go/bin:$PATH"
cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/agent && go test ./...
cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/agent && go mod tidy && go test ./...
- name: Vet
run: |

View File

@@ -100,3 +100,4 @@ func runWatch(sqsQueue, endpoint, apiKey string, interval int) error {
// TODO: SQS consumer loop → scanner → reporter
return nil
}
// Re-trigger Go CI