mirror of
https://github.com/nushell/nushell
synced 2025-01-12 21:29:07 +00:00
install correct version
This commit is contained in:
parent
5ca075e38b
commit
206998a41a
1 changed files with 2 additions and 1 deletions
|
@ -20,8 +20,9 @@ steps:
|
|||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
rustc -Vv
|
||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||
rustup component add rustfmt --toolchain `cat rust-toolchain`
|
||||
displayName: Install Rust
|
||||
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
|
||||
displayName: Run tests
|
||||
- bash: cargo fmt
|
||||
- bash: cargo fmt --all -- --check
|
||||
displayName: Lint
|
||||
|
|
Loading…
Reference in a new issue