Skip to content

Commit

Permalink
Add go mod vendor check to integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 committed Nov 11, 2024
1 parent 29b2d6d commit d342be2
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 add missing and remove unused dependencies"
exit 1
fi
- name: Run go fmt check
run: |
make go-fmt
Expand Down

0 comments on commit d342be2

Please sign in to comment.