ci: use of woodpecker mutli-pipelines
This commit is contained in:
parent
4a7723a9a8
commit
2c3dfcdeb3
2 changed files with 0 additions and 0 deletions
17
.woodpecker/.rust.yml
Normal file
17
.woodpecker/.rust.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
variables:
|
||||
- &rust_image 'rust:latest'
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue