Use spaces instead of tabs
This commit is contained in:
parent
a640f0f034
commit
02890d3fba
|
@ -22,25 +22,25 @@ fi
|
|||
|
||||
for dep in $DEPS
|
||||
do
|
||||
cp "Cargo-$dep.lock" Cargo.lock
|
||||
for crate in ${CRATES}
|
||||
do
|
||||
(
|
||||
cd "$crate"
|
||||
./contrib/test.sh
|
||||
)
|
||||
done
|
||||
if [ "$dep" = recent ];
|
||||
then
|
||||
# We always test committed dependencies but we want to warn if they could've been updated
|
||||
cargo update
|
||||
if diff Cargo-recent.lock Cargo.lock;
|
||||
then
|
||||
echo Dependencies are up to date
|
||||
else
|
||||
echo "::warning file=Cargo-recent.lock::Dependencies could be updated"
|
||||
fi
|
||||
fi
|
||||
cp "Cargo-$dep.lock" Cargo.lock
|
||||
for crate in ${CRATES}
|
||||
do
|
||||
(
|
||||
cd "$crate"
|
||||
./contrib/test.sh
|
||||
)
|
||||
done
|
||||
if [ "$dep" = recent ];
|
||||
then
|
||||
# We always test committed dependencies but we want to warn if they could've been updated
|
||||
cargo update
|
||||
if diff Cargo-recent.lock Cargo.lock;
|
||||
then
|
||||
echo Dependencies are up to date
|
||||
else
|
||||
echo "::warning file=Cargo-recent.lock::Dependencies could be updated"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue