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
Failed to generate hash of commit
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

View file

@ -1,6 +1,8 @@
[<img src="https://gitlab.com/uploads/-/system/project/avatar/25600351/logo.png" align="right" height="110"/>][project]
# apparmor.d [![][build]][project]
# apparmor.d
[![][build]][project] [![][quality]][goreportcard]
**Full set of AppArmor profiles**
@ -117,6 +119,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
[upstream]: https://gitlab.com/morfikov/apparmemall
[project]: https://gitlab.com/roddhjav/apparmor.d
[build]: https://gitlab.com/roddhjav/apparmor.d/badges/master/pipeline.svg?style=flat-square
[quality]: https://img.shields.io/badge/go%20report-A+-brightgreen.svg?style=flat-square
[goreportcard]: https://goreportcard.com/report/github.com/roddhjav/apparmor.d
[android_model]: https://arxiv.org/pdf/1904.05572
[clipos]: https://clip-os.org/en/