diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 15:06:37 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 15:06:37 +0100 |
commit | 325161da3a3b6e391bdd83233e6705c5d266e65c (patch) | |
tree | 1469af29ad32cf3f85e99e1bf50b440b89d46bf9 | |
parent | 41a2303ad06f409cb932cf570ff6cc04dd6692fe (diff) | |
download | nitrokey-rs-325161da3a3b6e391bdd83233e6705c5d266e65c.tar.gz nitrokey-rs-325161da3a3b6e391bdd83233e6705c5d266e65c.tar.bz2 |
Add clippy to lint build
-rw-r--r-- | .builds/lint.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.builds/lint.yml b/.builds/lint.yml index a3aa5ed..747db6d 100644 --- a/.builds/lint.yml +++ b/.builds/lint.yml @@ -2,17 +2,26 @@ # SPDX-License-Identifier: MIT image: archlinux packages: - - rust + - rustup - python - python-pip - python-pygit2 sources: - https://git.sr.ht/~ireas/nitrokey-rs tasks: - - setup: pip install --user fsfe-reuse + - setup: | + pip install --user fsfe-reuse + rustup update stable + rustup self upgrade-data + rustup default stable + rustup component add rustfmt + rustup component add clippy - format: | cd nitrokey-rs cargo fmt -- --check - reuse: | cd nitrokey-rs ~/.local/bin/reuse lint + - clippy: | + cd nitrokey-rs + cargo clippy -- -D warnings |