From 9fd61168587466f0f5be7497ad758c40b42e51f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=C4=83t=C4=83lin?= Date: Tue, 28 Jun 2022 15:27:16 +0200 Subject: [PATCH] ci: remove staticcheck install using go install in favor of alpine's --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 71d571a..f6a1046 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,7 @@ steps: - name: staticcheck image: golang:1.18.3-alpine3.16 commands: - - apk add --no-cache git staticcheck gcc libc-dev - - go install honnef.co/go/tools/cmd/staticcheck@latest + - apk add --no-cache git~=2 staticcheck~=2022 gcc~=11 libc-dev~=0 - staticcheck - name: build image: plugins/docker