From 179955dbc753740feabae3a1994f0db9f731a3f6 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 16 Apr 2022 15:05:22 +0200 Subject: [PATCH] Problem: we use older Go version Solution: upgrade Go version to 1.18.1 --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 39292ac..b9c58ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,12 +9,13 @@ workspace: steps: - name: testing - image: golang:1.16-alpine + image: golang:1.18-alpine environment: CGO_ENABLED: 0 GOOS: linux GOARCH: amd64 commands: + - go version - apk --no-cache add git - go get -d -t ./... - go install honnef.co/go/tools/cmd/staticcheck@latest