ci: add sallyport to cargo-update
and all the other Cargo.tomls
@@ -26,10 +26,7 @@ jobs:
git config user.email 'github-actions[bot]@users.noreply.github.com'
git fetch --all
git reset --hard origin/main
- cargo update --manifest-path=src/bin/shim-kvm/Cargo.toml
- cargo update --manifest-path=src/bin/shim-sgx/Cargo.toml
- cargo update --manifest-path=src/bin/exec-wasmtime/Cargo.toml
- cargo update --manifest-path=Cargo.toml
+ for i in $(find . -name Cargo.toml); do cargo update --manifest-path=$i; done
git diff --quiet && git diff --staged --quiet || git commit -am 'chore(deps): cargo update to update dependencies' && \
git push --force origin chore/cargo-update && echo "::set-output name=updated::0"
shell: bash
