run clippy on master pushes and pull requests
@@ -18,6 +18,8 @@ jobs:
- uses: actions/checkout@v2
- name: Verify code formatting
run: cargo fmt -- --check
+ - name: Verify code style
+ run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
