From cc0326d93acef2f440af25908f74b85f8a9421b3 Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 5 May 2021 20:05:12 -0700 Subject: [PATCH] Switch image for golangci-lint --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0543dd1..6a8036c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,13 +3,13 @@ stages: - publish lint: - image: nixery.dev/shell/diffutils/go/golangci-lint + image: golang:latest stage: build before_script: - - cp /share/go/bin/go /bin && mkdir /tmp # fix weirdness from nixery image - - mkdir -p /go/src/src/gitlab.com/signald/signald-go - - cp -r * /go/src/src/gitlab.com/signald/signald-go - - cd /go/src/src/gitlab.com/signald/signald-go + - apt-get update + - apt-get install -y wget golang-go + - wget https://github.com/golangci/golangci-lint/releases/download/v1.39.0/golangci-lint-1.39.0-linux-amd64.deb + - apt-get install -y ./golangci-lint-1.39.0-linux-amd64.deb script: - golangci-lint run - go mod tidy