CI: fix Go agent test by ensuring go mod tidy runs correctly
This commit is contained in:
@@ -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 mod tidy && go test ./...
|
||||
cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/agent && go mod download && go mod tidy && go test ./...
|
||||
|
||||
- name: Vet
|
||||
run: |
|
||||
|
||||
0
products/02-iac-drift-detection/agent/go.sum
Normal file
0
products/02-iac-drift-detection/agent/go.sum
Normal file
Reference in New Issue
Block a user