From 396a00bb0c87194789105c58f6aa7964cd022a9d Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 4 Jan 2022 08:26:24 +0100 Subject: [PATCH] fixup! WIP: Go 1.18 --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8f0b2a6..7b3c9f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,10 +8,9 @@ steps: image: golang:1.17 commands: - cd backend/ - - go install honnef.co/go/tools/cmd/staticcheck@latest - go build ./... - go vet ./... - - staticcheck ./... + - go run honnef.co/go/tools/cmd/staticcheck@latest ./... - go test -bench=. -benchmem -cover ./... # staticcheck does not yet support Go 1.18. @@ -20,10 +19,9 @@ steps: image: golang:1.18beta1 commands: - cd backend/ - # - go install honnef.co/go/tools/cmd/staticcheck@latest - go build ./... - go vet ./... - # - staticcheck ./... + # - go run honnef.co/go/tools/cmd/staticcheck@latest ./... - go test -bench=. -benchmem -cover ./... - name: frontend