Skip to content

Commit

Permalink
Add clippy to CI (use-ink#241)
Browse files Browse the repository at this point in the history
* Add clippy to CI

* Fix `Cargo.toml` path
  • Loading branch information
Michael Müller authored Mar 30, 2021
1 parent fa99483 commit 5f0788e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ fmt:
script:
- cargo fmt --verbose --all -- --check

clippy:
stage: check
<<: *docker-env
script:
- cargo clippy --verbose -- -D warnings;

#### stage: test (all features)

test:
Expand All @@ -98,6 +104,7 @@ test-new-project-template:
- cargo check --verbose
- cargo test --verbose --all
- cargo fmt --verbose --all -- --check
- cargo clippy --verbose --manifest-path Cargo.toml -- -D warnings;

#### stage: build (default features)

Expand Down

0 comments on commit 5f0788e

Please sign in to comment.