From 017fec2bc5798759a69945ac9946f8f2ceef1b4a Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 2 Nov 2022 09:36:22 -0400 Subject: [PATCH] Set override in actions-rs/toolchain@v1 (#543) --- .github/workflows/ci.yaml | 4 ++++ rust-toolchain | 1 + rust-toolchain.toml | 2 -- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 rust-toolchain delete mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e5b2b2297..8ca54733c1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,6 +38,7 @@ jobs: with: profile: minimal toolchain: nightly-2022-11-01 + override: true components: rustfmt - uses: actions/cache@v3 env: @@ -62,6 +63,7 @@ jobs: with: profile: minimal toolchain: nightly-2022-11-01 + override: true components: clippy - uses: actions/cache@v3 env: @@ -86,6 +88,7 @@ jobs: with: profile: minimal toolchain: nightly-2022-11-01 + override: true - uses: actions/cache@v3 env: cache-name: cache-cargo @@ -109,6 +112,7 @@ jobs: with: profile: minimal toolchain: nightly-2022-11-01 + override: true - uses: actions/setup-python@v4 with: python-version: "3.10" diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000000..9405730420 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +1.64.0 diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 10add70bbe..0000000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,2 +0,0 @@ -[toolchain] -channel = "1.64.0"