mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-21 04:20:23 +00:00
5762da3e91
updating go dependency to latest kubernetes released version i.e v1.23.0 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
13 lines
326 B
YAML
13 lines
326 B
YAML
language: go
|
|
arch: arm64
|
|
dist: focal
|
|
go: 1.15.x
|
|
script:
|
|
- diff -u <(echo -n) <(gofmt -d *.go)
|
|
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
|
|
- GO111MODULE=on go vet .
|
|
- GO111MODULE=on go test -v -race ./...
|
|
- git diff --exit-code
|
|
install:
|
|
- GO111MODULE=off go get golang.org/x/lint/golint
|