aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2021-09-20 16:06:02 +0200
committerQuentin <quentin@dufour.io>2021-09-20 16:06:02 +0200
commit4d4d453afa3edafe71db2ae60171b8696b38a3c9 (patch)
tree64a54012efbac76bca6c5f0d8214fdae44743bc8 /.drone.yml
parent2bbc9109991f8bb79a09a965a1d2779e1749b25b (diff)
parent68cb4d5482649baca3a79d3fd0e3449a6af0533b (diff)
downloaddiplonat-4d4d453afa3edafe71db2ae60171b8696b38a3c9.tar.gz
diplonat-4d4d453afa3edafe71db2ae60171b8696b38a3c9.zip
Merge pull request 'Extensively use rustfmt' (#11) from quality/rustfmt into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/11
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.drone.yml b/.drone.yml
index 34200b7..f431761 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -9,16 +9,16 @@ steps:
- name: code style
image: rust:1.47
commands:
- - rustup component add rustfmt
- - cargo fmt --all -- --check
+ - rustup toolchain install nightly-x86_64-unknown-linux-gnu
+ - 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