Skip to content

Commit

Permalink
Add go mod vendor check to integration test (#1198)
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 authored Nov 12, 2024
1 parent ca735b6 commit 0838d54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
exit 1
fi
- name: Run go mod vendor
run: |
go mod vendor
if ! git diff --quiet; then
echo "Please run 'go mod vendor' to make vendored copy of dependencies"
exit 1
fi
- name: Run go fmt check
run: |
make go-fmt
Expand Down

0 comments on commit 0838d54

Please sign in to comment.