diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 021ca48f3..e1ff9f547 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -26,7 +26,7 @@ jobs: go-version: ${{ matrix.GOVER }} - name: Verifying Code run: | - go generate -v ./... && test -z "$(git status --porcelain)" + go generate -v ./... && go mod tidy && test -z "$(git status --porcelain)" go vet ./... - name: Building run: go build -v ./... diff --git a/Makefile b/Makefile index 28e6b18cd..f74ba68a8 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ cover: clean generate: clean $(GO) generate -v ./... + $(GO) mod tidy bootstrap: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(TOOLS_DIR) v1.18.0