diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-20 15:00:31 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-20 15:13:16 +0200 |
commit | 7d478d997620c0af41a6ffb8b3f29dc6dda2cb98 (patch) | |
tree | 03b08b4c27401b46c3e64c53e3469d2803efa3e9 /.drone.yml | |
parent | 2bbc9109991f8bb79a09a965a1d2779e1749b25b (diff) | |
download | diplonat-7d478d997620c0af41a6ffb8b3f29dc6dda2cb98.tar.gz diplonat-7d478d997620c0af41a6ffb8b3f29dc6dda2cb98.zip |
Stricter Rust formating rules and build in the CI
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -7,18 +7,17 @@ workspace: steps: - name: code style - image: rust:1.47 + image: rustlang/rust:nightly-slim commands: - - rustup component add rustfmt - - cargo fmt --all -- --check + - rustup component add rustfmt --toolchain nightly + - cargo +nightly fmt --all -- --check # - name: code quality # image: rust:1.47 # commands: # - cargo clippy -- --deny warnings -# - name: test -# image: rust:1.47 -# commands: -# - cargo build --verbose --all -# - cargo test --verbose --all +- name: test + image: rust:1.47 + commands: + - cargo build --verbose --all + - cargo test --verbose --all -
\ No newline at end of file |