ezidam/.woodpecker/rust.yml

17 lines
301 B
YAML

variables:
- &rust_image 'rust:1.67'
pipeline:
build:
image: *rust_image
commands:
# setup
- rm rust-toolchain.toml # use default installed toolchain
- rustup show
# test
- cargo test
# clippy
- rustup component add clippy
- cargo clippy