Update dependencies (#5518)

This commit is contained in:
hongming
2023-02-12 23:09:20 +08:00
committed by GitHub
parent d3b35fb2da
commit a979342f56
1486 changed files with 126660 additions and 71128 deletions

View File

@@ -4,10 +4,12 @@ install:
go install
lint:
gofmt -l -s -w . && go tool vet -all . && golint
gofmt -l -s -w . && go vet . && golint -set_exit_status=1 .
test:
go test -race -v -coverprofile=coverage.txt -covermode=atomic
test: # The first 2 go gets are to support older Go versions
go get github.com/arbovm/levenshtein
go get github.com/dgryski/trifles/leven
GO111MODULE=on go test -race -v -coverprofile=coverage.txt -covermode=atomic
bench:
go test -run=XXX -bench=. -benchmem
go test -run=XXX -bench=. -benchmem -count=5