Use web based goreport to linter check.

This commit is contained in:
Alexandre Pujol 2021-11-30 18:36:04 +00:00
parent 5059946c4f
commit 7f960ff4f7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 5 additions and 14 deletions

View file

@ -30,19 +30,6 @@ golangci-lint:
script:
- golangci-lint run
goreport:
stage: lint
image: golang
before_script:
- cd /tmp
- git clone https://github.com/gojp/goreportcard.git
- cd goreportcard
- make install
- go install ./cmd/goreportcard-cli
- cd $CI_PROJECT_DIR
script:
- goreportcard-cli -v -t 90
sast:
stage: lint