install clippy
This commit is contained in:
parent
7be62c1d37
commit
b635d57415
|
@ -3,10 +3,10 @@ name: Rust Build and Clippy Check
|
|||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -17,12 +17,14 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# setup rust with stable toolchain
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Clippy
|
||||
run: rustup component add clippy --toolchain stable
|
||||
|
||||
- name: Build and test
|
||||
run: |
|
||||
cargo build --all-targets
|
||||
|
|
Loading…
Reference in New Issue