packer - Switch to dtolnay/rust-toolchain@stable & bump actions/checkout@v3.5.3 (#4878)
Summary: This diff switches to `dtolnay/rust-toolchain@stable` since `actions-rs/toolchain` is **NOT maintained** and bumps `actions/checkout@v3.5.3` > **Note**: > `uses: dtolnay/rust-toolchain@stable` > The selection of Rust toolchain is made based on the particular `rev` of this Action being requested. For example `dtolnay/rust-toolchain@nightly` pulls in the `nightly` Rust toolchain, while `dtolnay/rust-toolchain@1.42.0` pulls in `1.42.0`. ### Ref.: - `actions-rs/toolchain` is **NOT Maintained**, issue: https://github.com/actions-rs/toolchain/issues/216 - `dtolnay/rust-toolchain@stable` usage note: https://github.com/dtolnay/rust-toolchain#example-workflow - `actions/checkout@v3.5.3` changelog: https://github.com/actions/checkout/releases/tag/v3.5.3 ## Changelog: [GENERAL] [SECURITY] - [Actions] `packer` - Switch to `dtolnay/rust-toolchain@stable` & bump `actions/checkout@v3.5.3` Pull Request resolved: https://github.com/facebook/flipper/pull/4878 Test Plan: - Workflow should run and work as usual. Reviewed By: lblasa Differential Revision: D47056977 Pulled By: passy fbshipit-source-id: 68023fcce355831314af2f31d514ed95efb7788c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dac8c5b213
commit
d3861c53a4
12
.github/workflows/packer.yml
vendored
12
.github/workflows/packer.yml
vendored
@@ -1,5 +1,5 @@
|
|||||||
name: Packer
|
name: Packer
|
||||||
|
# This action runs on 'git push' and PRs
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -7,11 +7,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.5.3
|
||||||
- name: Setup toolchain
|
- name: Setup toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
# The selection of Rust toolchain is made based on the particular '@rev'
|
||||||
toolchain: 1.48.0
|
# of this Action being requested. For example "dtolnay/rust-toolchain@nightly"
|
||||||
|
# pulls in the nightly Rust toolchain, while "dtolnay/rust-toolchain@1.42.0"
|
||||||
|
# pulls in '1.42.0'.
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd packer && cargo test
|
run: cd packer && cargo test
|
||||||
- name: Format
|
- name: Format
|
||||||
|
|||||||
Reference in New Issue
Block a user