-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should improve CI times a bit since it allows cargo to skip update of the crates.io index.
- Loading branch information
Showing
3 changed files
with
456 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Update Cargo.lock | ||
|
||
on: | ||
schedule: | ||
# Run every Sunday at 00:00 UTC | ||
- cron: '0 0 * * 0' | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
update-cargo-lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: Update dependencies | ||
run: cargo update | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
title: "Update Cargo.lock" | ||
commit-message: "Update Cargo.lock" | ||
base: master | ||
branch: update-cargo-lock | ||
path: Cargo.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
/target | ||
**/*.rs.bk | ||
Cargo.lock | ||
*.ts | ||
*.js | ||
*.wasm | ||
nopanic_check/Cargo.lock | ||
nopanic_check/target/ |
Oops, something went wrong.