cargo update log
+
+ ```log
+ $cargo_update_log
+ ```
+
+
jobs:
update:
- uses: ithacaxyz/ci/.github/workflows/cargo-update-pr.yml@main
- secrets:
- token: ${{ secrets.GITHUB_TOKEN }}
+ name: Update
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ pull-requests: write
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@nightly
+
+ - name: cargo update
+ # Remove first line that always just says "Updating crates.io index"
+ run: cargo update --color never 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
+
+ - name: craft commit message and PR body
+ id: msg
+ run: |
+ export cargo_update_log="$(cat cargo_update.log)"
+ echo "commit_message<