cargo update log
-
-
- ```log
- $cargo_update_log
- ```
-
-
-
+permissions:
+ contents: write
+ pull-requests: write
jobs:
update:
- name: Update
- runs-on: ubuntu-latest
- 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<