Update Rust version in CI
This commit is contained in:
parent
94698b48ab
commit
c12cb322ec
12
.drone.yml
12
.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
|
||||
|
|
Loading…
Reference in New Issue