diff --git a/.drone.yml b/.drone.yml index ba08de9..ad78d35 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: check - image: ayravat/rust:1.56.1-ci + image: rust:1.57 volumes: - name: target path: /tmp/cargo-target @@ -22,7 +22,7 @@ steps: - cargo check --all-targets - name: fmt - image: ayravat/rust:1.56.1-ci + image: rust:1.57 volumes: - name: target path: /tmp/cargo-target @@ -33,10 +33,11 @@ steps: - export CARGO_HOME=/tmp/cargo/$CACHE_DIR - export CARGO_TARGET_DIR=/tmp/cargo-target/$CACHE_DIR - mkdir -p $CARGO_HOME $CARGO_TARGET_DIR + - rustup component add rustfmt - cargo fmt --all -- --check - name: clippy - image: ayravat/rust:1.56.1-ci + image: rust:1.57 volumes: - name: target path: /tmp/cargo-target @@ -47,10 +48,11 @@ steps: - export CARGO_HOME=/tmp/cargo/$CACHE_DIR - export CARGO_TARGET_DIR=/tmp/cargo-target/$CACHE_DIR - mkdir -p $CARGO_HOME $CARGO_TARGET_DIR + - rustup component add clippy - cargo clippy --workspace --all-targets -- -D warnings - name: test - image: ayravat/rust:1.56.1-ci + image: rust:1.57 volumes: - name: target path: /tmp/cargo-target @@ -64,7 +66,7 @@ steps: - cargo test -- --nocapture - name: crates.io - image: ayravat/rust:1.56.1-docker + image: rust:1.57 volumes: - name: target path: /tmp/cargo-target