Update Cargo.lock #828
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
# 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: | |
# Should stay in sync with fbcode/buck2/rust-toolchain | |
# And other similar references in this file and | |
# ci.yml | |
toolchain: nightly-2024-10-13 | |
override: true | |
- name: cargo check | |
run: cargo check --features vendored --manifest-path=compiler/Cargo.toml | |
- name: pull-request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
title: "Update Cargo.lock" | |
delete-branch: true |