mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Clone into checkout directory and cd into it
This commit is contained in:
parent
9e6dc8d2d5
commit
dd0ed5dccc
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,8 @@ cargo install --force
|
|||
|
||||
echo "Running integration test for crate ${INTEGRATION}"
|
||||
|
||||
git clone https://github.com/${INTEGRATION}.git
|
||||
git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
|
||||
cd checkout
|
||||
|
||||
function check() {
|
||||
cargo clippy --all &> clippy_output
|
||||
|
@ -19,7 +20,6 @@ case ${INTEGRATION} in
|
|||
check
|
||||
;;
|
||||
*)
|
||||
cd ${INTEGRATION}
|
||||
check
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue