mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-12 07:17:13 +01:00
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:
|
script:
|
||||||
- golangci-lint run
|
- 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:
|
sast:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
[<img src="https://gitlab.com/uploads/-/system/project/avatar/25600351/logo.png" align="right" height="110"/>][project]
|
[<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**
|
**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
|
[upstream]: https://gitlab.com/morfikov/apparmemall
|
||||||
[project]: https://gitlab.com/roddhjav/apparmor.d
|
[project]: https://gitlab.com/roddhjav/apparmor.d
|
||||||
[build]: https://gitlab.com/roddhjav/apparmor.d/badges/master/pipeline.svg?style=flat-square
|
[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
|
[android_model]: https://arxiv.org/pdf/1904.05572
|
||||||
[clipos]: https://clip-os.org/en/
|
[clipos]: https://clip-os.org/en/
|
||||||
|
|
Loading…
Reference in a new issue