mirror of
https://github.com/danbulant/nushell
synced 2026-05-19 20:38:40 +00:00
CI
This commit is contained in:
parent
3c9a0e0e1a
commit
dbefbcb046
1 changed files with 3 additions and 0 deletions
|
|
@ -19,7 +19,10 @@ steps:
|
|||
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain`
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
rustc -Vv
|
||||
cargo install rustfmt
|
||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||
displayName: Install Rust
|
||||
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
|
||||
displayName: Run tests
|
||||
- bash: cargo fmt
|
||||
displayName: Lint
|
||||
|
|
|
|||
Loading…
Reference in a new issue