Bump github.com/emicklei/go-restful-openapi to v2.9.2-0.20230507070325-d6acc08e570c (#5669)

This commit is contained in:
hongming
2023-05-09 10:13:45 +08:00
committed by GitHub
parent 16c2dbc693
commit 673fdde52c
160 changed files with 709 additions and 4635 deletions

View File

@@ -0,0 +1,20 @@
clean:
rm coverage.out
test:
go test -cover -race -count=1 ./...
coverage:
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out
# for local testing
lint:
docker run --rm -v $(PWD):$(PWD) -w $(PWD) golangci/golangci-lint:v1.33.0 golangci-lint run -v
# for testing on CI/CD. we specify required linter version in the .travis.yml file
lint-ci:
golangci-lint run
outdated:
go list -u -m -json all | docker run -i psampaz/go-mod-outdated -update -direct -ci