From 7dab956b9ea1a716a46173e8da6df577b0be4b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Fri, 22 Dec 2023 08:35:04 -0500 Subject: [PATCH] ci: switch to dtolnay/rust-toolchain --- .github/workflows/release-pr.yml | 2 +- .github/workflows/rust.yml | 4 ++-- rust-toolchain | 1 - rust-toolchain.toml | 2 ++ 4 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 rust-toolchain create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index f68969a..c0e0add 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: profile: minimal diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0be0818..1180c62 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -46,7 +46,7 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable - uses: taiki-e/install-action@nextest - uses: Swatinem/rust-cache@v2 # make sure benches don't bit-rot @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 5e3a425..0000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -1.73.0 diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..22fb8b2 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.73" \ No newline at end of file