From 916e75da0926527543afd056c5cec1ee63a629a5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 22 Oct 2023 17:30:36 +0200 Subject: [PATCH] chore(ci): use golangci-lint docker image for lint step --- .drone.yml | 5 ++--- .gitignore | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0795b0c2822..daee9f1c47a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -133,7 +133,7 @@ steps: event: [ push, tag, pull_request ] - name: lint - image: vikunja/golang-build:latest + image: golangci/golangci-lint:v1.54.2 pull: always environment: GOPROXY: 'https://goproxy.kolaente.de' @@ -141,7 +141,6 @@ steps: commands: - export "GOROOT=$(go env GOROOT)" - apk --no-cache add build-base git - - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 - ./mage-static check:golangci when: event: [ push, tag, pull_request ] @@ -778,6 +777,6 @@ steps: - failure --- kind: signature -hmac: d70103ade7cbade073843f8567e666ece3c0c259a604ce632c409a52e6f80556 +hmac: 29c42e4bd66ba831b30e56f6643b1a51a04414c0947abfa1ca1f92d2163fbc47 ... diff --git a/.gitignore b/.gitignore index 6a360982844..6cf9dc87e25 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ vikunja-dump* vendor/ os-packages/ mage_output_file.go +mage-static