use cargo instead of toolchain (CI)
@@ -193,12 +193,12 @@ jobs:
override: true
components: rustfmt, clippy
- name: Check formatting
- uses: actions-rs/toolchain@v1
+ uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run clippy
- uses: actions-rs/toolchain@v1
+ uses: actions-rs/cargo@v1
with:
command: clippy
args: --all -- --deny warnings
