Skip to content

Commit

Permalink
feat(CI): run clippy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Feb 28, 2023
1 parent 9ed175d commit fd9b61e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- ffi
- ffi-header
- doc
- clippy
steps:
- run: exit 0

Expand Down Expand Up @@ -235,3 +236,21 @@ jobs:
with:
command: rustdoc
args: --features full,ffi -- --cfg docsrs --cfg hyper_unstable_ffi -D broken-intra-doc-links

clippy:
name: Run clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy

- name: Run check
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -Aclippy::all -Dclippy::self_named_module_files

0 comments on commit fd9b61e

Please sign in to comment.