mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Use rustc from latest merged PR instead of nightly
This commit is contained in:
parent
cb7af65e28
commit
0fc1d8874c
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ install:
|
|||
- npm install remark-cli remark-lint
|
||||
|
||||
script:
|
||||
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
|
||||
- RUSTC_HEAD=`git ls-remote https://github.com/rust-lang/rust.git HEAD | tr -d ",." | tr " \t" "\n" | grep -e "HEAD" -v`
|
||||
- rustup-toolchain-install-master $RUSTC_HEAD
|
||||
- rustup default $RUSTC_HEAD
|
||||
- PATH=$PATH:./node_modules/.bin
|
||||
- remark -f README.md > /dev/null
|
||||
- set -e
|
||||
|
|
Loading…
Add table
Reference in a new issue