Switch image for golangci-lint
This commit is contained in:
parent
4e1603db2e
commit
cc0326d93a
1 changed files with 5 additions and 5 deletions
|
@ -3,13 +3,13 @@ stages:
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
image: nixery.dev/shell/diffutils/go/golangci-lint
|
image: golang:latest
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- cp /share/go/bin/go /bin && mkdir /tmp # fix weirdness from nixery image
|
- apt-get update
|
||||||
- mkdir -p /go/src/src/gitlab.com/signald/signald-go
|
- apt-get install -y wget golang-go
|
||||||
- cp -r * /go/src/src/gitlab.com/signald/signald-go
|
- wget https://github.com/golangci/golangci-lint/releases/download/v1.39.0/golangci-lint-1.39.0-linux-amd64.deb
|
||||||
- cd /go/src/src/gitlab.com/signald/signald-go
|
- apt-get install -y ./golangci-lint-1.39.0-linux-amd64.deb
|
||||||
script:
|
script:
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
|
Loading…
Reference in a new issue