File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 99- [ Clippy's Lints] ( lints.md )
1010- [ Continuous Integration] ( continuous_integration/README.md )
1111 - [ GitHub Actions] ( continuous_integration/github_actions.md )
12+ - [ GitLab CI] ( continuous_integration/gitlab.md )
1213 - [ Travis CI] ( continuous_integration/travis.md )
1314- [ Development] ( development/README.md )
1415 - [ Basics] ( development/basics.md )
Original file line number Diff line number Diff line change 1+ # GitLab CI
2+
3+ You can add Clippy to GitLab CI by using the latest stable [ rust docker image] ( https://hub.docker.com/_/rust ) ,
4+ as it is shown in the ` .gitlab-ci.yml ` CI configuration file below,
5+
6+ ``` yml
7+ # Make sure CI fails on all warnings, including Clippy lints
8+ variables :
9+ RUSTFLAGS : " -Dwarnings"
10+
11+ clippy_check :
12+ image : rust:latest
13+ script :
14+ - rustup component add clippy
15+ - cargo clippy --all-targets --all-features
16+ ` ` `
You can’t perform that action at this time.
0 commit comments