Skip to content

Commit

Permalink
ci: Upgrade to compatible dependencies every night
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Jun 13, 2024
1 parent d1229ae commit f218dd7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/upgrade-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Upgrade dependencies

on:
workflow_dispatch: {}
schedule:
- cron: 0 2 * * *

jobs:
upgrade-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cargo-edit
- uses: Swatinem/rust-cache@v2
- run: cargo upgrade
- run: cargo test
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "feat: Upgrade dependencies"
title: "feat: Upgrade dependencies"
body: |
Upgrade to compatible dependencies. This was automatically done using cargo-edit.
```
branch: create-pull-request/upgrade-dependencies

0 comments on commit f218dd7

Please sign in to comment.