Skip to content

Commit 6ed3cb7

Browse files
committed
ci: add update-lockfile workflow and dependabot config for Cargo
1 parent b076b11 commit 6ed3cb7

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Update Cargo.lock
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
update-lockfile:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: personal
16+
17+
- uses: actions-rust-lang/setup-rust-toolchain@v1
18+
19+
- name: Run cargo update
20+
run: cargo update
21+
22+
- uses: stefanzweifel/git-auto-commit-action@v5
23+
with:
24+
commit_message: "chore: update Cargo.lock [skip ci]"
25+
file_pattern: Cargo.lock

0 commit comments

Comments
 (0)