From e6499e46ebc45eb75c35b782e93800edce838e00 Mon Sep 17 00:00:00 2001 From: Marcella Hastings Date: Wed, 21 Jun 2023 15:51:56 -0400 Subject: [PATCH] install all stable components, try fast make #344 --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24ac36b1..289d0ffa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,17 +17,17 @@ jobs: uses: actions/checkout@v3 - name: Install stable toolchain - run: rustup toolchain install 1.70 --profile minimal + run: rustup toolchain install 1.70 - - name: Install nightly toolchain for fmt - run: rustup toolchain install nightly --component rustfmt --profile minimal + - name: Install nightly toolchain (for rustfmt) + run: rustup toolchain install nightly --profile minimal --component rustfmt - - name: Install cargo-make - run: cargo install cargo-make + - name: Install cargo-make (fast!) + uses: davidB/rust-cargo-make@v1 # Caching for Rust files. Must be called after installing Rust toolchain. # See https://github.com/Swatinem/rust-cache for more information. - - name: Set Up Cache + - name: Cache Rust files uses: Swatinem/rust-cache@v2 - name: Run full CI (fmt, clippy, build, test, doctest, docs)