diff options
-rw-r--r-- | .drone.yml | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -1,13 +1,14 @@ -build: - image: golang:1.18.5 - environment: - - GOOS=linux - - GOARCH=amd64 - - CGO_ENABLED=0 - commands: - - go test -cover -coverprofile coverage.out +--- +kind: pipeline +type: docker +name: linux-amd64 -publish: - coverage: - when: - branch: master
\ No newline at end of file +platform: + arch: amd64 + os: linux + +steps: + - name: test + image: golang:1.14.15 + commands: + - go test ./... |