summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Eades <danieleades@hotmail.com>2021-12-27 10:45:56 +0000
committerDaniel Eades <danieleades@hotmail.com>2021-12-28 18:28:09 +0000
commite2c626fa3a4a42787bc273b5e5f1d8edb6ed15dd (patch)
tree1aaa27896e870b6429f080b200c64e4a598a4b83
parentb763c6b2de6dbabe8c7a8dea8e15156075a1339c (diff)
use 'toolchain-rs' action to install Cargo components
-rw-r--r--.github/workflows/msrv.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml
index 63be570..68562ba 100644
--- a/.github/workflows/msrv.yml
+++ b/.github/workflows/msrv.yml
@@ -100,10 +100,9 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
+ minimal: true
override: true
-
- - name: Install rustfmt
- run: rustup component add rustfmt
+ components: rustfmt
- name: Run cargo fmt
uses: actions-rs/cargo@v1
@@ -129,10 +128,9 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
+ minimal: true
override: true
-
- - name: Install clippy
- run: rustup component add clippy
+ components: clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1