diff --git a/.drone.yml b/.drone.yml index 0d93762..06eb6a6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,14 +1,11 @@ --- kind: pipeline -type: exec +type: docker name: default -platform: - os: linux - arch: amd64 - steps: - name: backend + image: golang commands: - - docker run -i --rm -u 0 -v $(pwd):/go/src/mtest -w /go/src/mtest golang go test -v . - + - go build + - go test