Update dependencies to Kubernetes 1.30

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
This commit is contained in:
Aurel Canciu
2024-05-02 11:36:59 +02:00
parent 9a0c6e7e54
commit 66d69f3d22
6 changed files with 68 additions and 118 deletions

View File

@@ -12,13 +12,7 @@ vet:
go vet ./...
fmt:
go mod tidy
gofmt -l -s -w ./
goimports -l -w ./
test-fmt:
gofmt -l -s ./ | grep ".*\.go"; if [ "$$?" = "0" ]; then exit 1; fi
goimports -l ./ | grep ".*\.go"; if [ "$$?" = "0" ]; then exit 1; fi
go fmt ./...
codegen:
./hack/update-codegen.sh
@@ -26,10 +20,10 @@ codegen:
test-codegen:
./hack/verify-codegen.sh
test: test-fmt test-codegen
test: fmt test-codegen
go test ./...
test-coverage: test-fmt test-codegen
test-coverage: fmt test-codegen
go test -coverprofile cover.out ./...
go tool cover -html=cover.out
rm cover.out