From 78c10e1945ad8c25d84928189b942fcbdb2c882c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 16 May 2022 14:53:46 +0300 Subject: [PATCH] Switch to Rust nightly for builds --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- rust-toolchain.toml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2770e1474..7eae75e36e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: - name: Setup Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: nightly override: true profile: minimal target: ${{ matrix.config.target }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e20ac8b42e..d86b5975e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: - name: Setup Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: nightly override: true profile: minimal target: ${{ matrix.config.target }} diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000..e9d4cf2276 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "nightly" +components = [ "rustfmt", "clippy" ]