Simplify code using clippy (#38)
Signed-off-by: Bala.FA <bala@minio.io>
This commit is contained in:
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
@@ -16,10 +16,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build and Check style
|
||||
- name: Build
|
||||
run: |
|
||||
cargo build --verbose
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy --all-targets --all-features -- -A clippy::result_large_err -A clippy::type_complexity -A clippy::too_many_arguments
|
||||
cargo build --verbose
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user