diff --git a/.drone.yml b/.drone.yml index ac1585f..c7e732f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,8 +4,9 @@ name: default steps: - name: static_check - image: golang:1.18 + image: golang:alpine commands: + - apk update && apk --no-cache add git gcc glibc - go install honnef.co/go/tools/cmd/staticcheck@latest - staticcheck ./pkg/... volumes: @@ -13,8 +14,9 @@ steps: path: /go - name: lint - image: golang:1.18 + image: golang:alpine commands: + - apk update && apk --no-cache add git gcc glibc - go install golang.org/x/lint/golint@latest - golint -set_exit_status ./pkg/... volumes: @@ -22,8 +24,9 @@ steps: path: /go - name: vet - image: golang:1.18 + image: golang:alpine commands: + - apk update && apk --no-cache add git gcc glibc - go vet ./pkg/... volumes: - name: gopath