-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #4124 Test Plan: This diff also adds a github action that will automatically create PRs with chagnes to Cargo.lock. Example PR: alunyov#2 Example Run: https://github.com/alunyov/relay/actions/runs/3463204808/jobs/5783112977 Reviewed By: voideanvalue Differential Revision: D41266562 Pulled By: alunyov fbshipit-source-id: 60efca734e1808fe1223e151f63c6e0eb65f862b
- Loading branch information
1 parent
a4c3c91
commit bd04254
Showing
3 changed files
with
37 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
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,33 @@ | ||
|
||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
name: Update Cargo.lock | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
update-cargo-lock: | ||
name: Update Cargo.lock file | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.64.0 | ||
override: true | ||
- name: "cargo check" | ||
run: cargo check | ||
working-directory: ./compiler/ | ||
- name: pull-request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: "Update Cargo.lock" | ||
delete-branch: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.