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