diff --git a/.github/scripts/update-lockfiles.sh b/.github/scripts/update-lockfiles.sh index b40e147c..e79e76a9 100755 --- a/.github/scripts/update-lockfiles.sh +++ b/.github/scripts/update-lockfiles.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash function update_lockfiles() { - for toml in **/Cargo.toml; do - (cd "$(dirname "$toml")" && cargo update) - done + find . -name Cargo.lock -execdir cargo update \; } update_lockfiles