1
0
Fork 0

👷 Use official golangci-lint docker image

This commit is contained in:
Maxim Lebedev 2021-08-05 16:27:52 +05:00
parent 3b91265497
commit 84d58bd472
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 4 additions and 6 deletions

View File

@ -17,10 +17,9 @@ steps:
path: /go
- name: lint
image: golang
image: golangci/golangci-lint
commands:
- wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1
- ./bin/golangci-lint run
- golangci-lint run ./...
failure: ignore
volumes:
- name: deps

View File

@ -42,9 +42,8 @@ cover:
cobertura: coverage.xml
lint:
image: golangci/golangci-lint
stage: test
before_script:
- wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1
script:
- ./bin/golangci-lint run
- golangci-lint run $REPO_NAME/...
allow_failure: true