| Crates.io | gitlab_clippy |
| lib.rs | gitlab_clippy |
| version | 1.0.3 |
| created_at | 2020-10-18 18:04:58.813441+00 |
| updated_at | 2021-12-10 17:27:30.583125+00 |
| description | Convert clippy warnings into GitLab Code Quality report |
| homepage | https://gitlab.com/dlalic/gitlab-clippy |
| repository | https://gitlab.com/dlalic/gitlab-clippy |
| max_upload_size | |
| id | 302321 |
| size | 71,989 |
Convert clippy warnings into GitLab Code Quality report
clippy:
stage: lint
before_script:
- rustup component add clippy
- cargo install gitlab_clippy
script:
- cargo clippy
after_script:
- cargo clippy --message-format=json | gitlab-clippy > gl-code-quality-report.json
artifacts:
reports:
codequality: gl-code-quality-report.json
expire_in: 1 week
rules:
- if: '$CODE_QUALITY_DISABLED'
when: never
- if: '$CI_PIPELINE_SOURCE == "push"'
Demo of results showing inside a MR can be viewed here.
cargo install gitlab_clippy
cargo clippy --message-format=json | gitlab-clippy