kind: pipeline type: docker name: clone steps: - name: Test image: golang:1.18 commands: - go env -w GO111MODULE=on - go env -w GOPROXY=https://goproxy.cn,direct - go test -v ./... - name: Benchmark image: golang:1.18 commands: - go env -w GO111MODULE=on - go env -w GOPROXY=https://goproxy.cn,direct - go test -bench=. -benchmem