diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c31d3cc..81ad3ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,9 +42,6 @@ jobs: rustc -Vv cargo -Vv - - name: "Install Rustup Components" - run: rustup component add rust-src llvm-tools-preview - - name: "Install build tools" run: cargo install cargo-make cargo-binutils @@ -133,7 +130,6 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v1 - - run: rustup toolchain install nightly --profile minimal --component clippy - - run: rustup component add rust-src llvm-tools-preview + - run: rustup toolchain install nightly - run: cargo install cargo-make - run: env CLIPPY_FEATURES=${{ matrix.features }} cargo make clippy diff --git a/rust-toolchain b/rust-toolchain index bf867e0..a0d6ea9 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1,4 @@ -nightly +[toolchain] +channel = "nightly" +components = ["clippy", "llvm-tools-preview", "rust-src", "rustfmt"] +targets = ["aarch64-unknown-none-softfloat"]