Use rustup to install clippy
@@ -112,7 +112,7 @@ jobs:
- checkout
- run: git submodule sync
- run: git submodule update --init --depth=1
- - run: cargo install clippy
+ - run: rustup component add clippy-preview
- run:
name: Print version information
command: cargo clippy -- --version
