mirror of
https://github.com/urbit/ares.git
synced 2024-12-23 21:31:57 +03:00
build: add targets to linter
This commit is contained in:
parent
d202f8752c
commit
94457e5f90
12
.github/workflows/ares-shared.yml
vendored
12
.github/workflows/ares-shared.yml
vendored
@ -17,8 +17,18 @@ jobs:
|
||||
- name: Format
|
||||
run: cargo fmt --check
|
||||
|
||||
# See clippy linter docs: https://github.com/rust-lang/rust-clippy
|
||||
#
|
||||
# First linter is set to fail for all warnings, then ignored warnings explicitly
|
||||
# are explicitly listed
|
||||
#
|
||||
- name: Lint
|
||||
run: cargo clippy -- --deny warnings --allow clippy::missing_safety_doc
|
||||
run: |
|
||||
cargo clippy \
|
||||
--all-targets \
|
||||
--no-deps \
|
||||
-- -D warnings \
|
||||
-A clippy::missing_safety_doc
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
Loading…
Reference in New Issue
Block a user