Skip to content

Weekly Rust Cargo update #98

Weekly Rust Cargo update

Weekly Rust Cargo update #98

name: Weekly Rust Cargo update
on:
workflow_dispatch:
schedule:
# weekly "at 05:00 on Monday" (https://crontab.guru/#0_5_*_*_1)
- cron: '0 5 * * 1'
jobs:
weekly-cargo:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
manifest:
- 'src/abacus/Cargo.toml'
- 'src/x/Cargo.toml'
steps:
# https://github.com/actions/checkout
- uses: actions/[email protected]
# https://github.com/dtolnay/rust-toolchain
- uses: dtolnay/rust-toolchain@stable
# Cargo update
- run: cargo update --manifest-path ${{ matrix.manifest }} --color always
# https://github.com/peter-evans/create-pull-request
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PAT }}
commit-message: 'Weekly Rust Cargo update (${{ matrix.manifest }})'
title: 'Weekly Rust Cargo update (${{ matrix.manifest }})'
delete-branch: true
branch-suffix: random
labels: |
dependencies