Update deps #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update deps | |
on: | |
schedule: | |
- cron: 0 0 1 * * | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update: | |
name: Update | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: rustup update | |
run: rustup update | |
- name: cargo update | |
run: cargo update | |
- name: Open pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: cargo-update | |
title: "cargo update" | |
commit-message: "cargo: update" | |
body: "Update dependencies to latest." |