Skip to content

Commit

Permalink
gg/static-checks: use make vendor
Browse files Browse the repository at this point in the history
Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Aug 10, 2022
1 parent b5a3752 commit 42f3ead
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ jobs:
git diff --exit-code || (echo "gofmt checks failed. Please run 'go -w fmt ./...', and submit your changes"; exit 1)
- name: Check module vendoring
run: |
go mod tidy -compat=1.17
go mod vendor
go mod verify
make vendor
echo "git status --porcelain:" `git status --porcelain`
test -z "$(git status --porcelain)" || (echo "Module vendoring checks failed. Please run 'go mod tidy -compat=1.17 && go mod vendor && go mod verify', and submit your changes"; exit 1)
test -z "$(git status --porcelain)" || (echo "Module vendoring checks failed. Please run 'make vendor', and submit your changes"; exit 1)
- name: Build clang-format Docker image
run: |
docker build -f Dockerfile.clang-format -t "isovalent/clang-format:latest" .
Expand Down

0 comments on commit 42f3ead

Please sign in to comment.