diff options
Diffstat (limited to '.builds/lint.yml')
-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 |