Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 Add docs for contributing and private items #26

Merged
merged 9 commits into from
Jun 14, 2023
Prev Previous commit
Next Next commit
add *Clippy* options to the CI
  • Loading branch information
amtoine committed Jun 14, 2023
commit 8b11060e42d0eb196b860ecef36d01f918642efe
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,18 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/[email protected]
- name: Clippy
run: cargo clippy --no-deps
run: |
cargo clippy \
--no-deps \
-- \
-D rustdoc::broken_intra_doc_links \
-W missing_docs \
-W clippy::missing_docs_in_private_items \
-W clippy::explicit_iter_loop \
-W clippy::explicit_into_iter_loop \
-W clippy::semicolon_if_nothing_returned \
-W clippy::doc_markdown \
-W clippy::manual_let_else

test:
name: test rust files
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,18 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/[email protected]
- name: Clippy
run: cargo clippy --no-deps
run: |
cargo clippy \
--no-deps \
-- \
-D rustdoc::broken_intra_doc_links \
-W missing_docs \
-W clippy::missing_docs_in_private_items \
-W clippy::explicit_iter_loop \
-W clippy::explicit_into_iter_loop \
-W clippy::semicolon_if_nothing_returned \
-W clippy::doc_markdown \
-W clippy::manual_let_else

test:
name: test rust files
Expand Down