Use web based goreport to linter check.
This commit is contained in:
parent
5059946c4f
commit
7f960ff4f7
2 changed files with 5 additions and 14 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue