Skip to content

Commit bdf3dc6

Browse files
committed
CI: clippy, check docs and fail on warnings
1 parent f9fba36 commit bdf3dc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
env:
99
RUST_BACKTRACE: 1
1010
CARGO_TERM_COLOR: always
11+
RUSTFLAGS: "-Dwarnings"
12+
RUSTDOCFLAGS: "-Dwarnings"
1113

1214
jobs:
1315
ci-pass:
@@ -145,4 +147,6 @@ jobs:
145147
token: ${{ secrets.GITHUB_TOKEN }}
146148
- name: Format check
147149
run: |
150+
cargo doc
148151
cargo fmt -- --check
152+
cargo clippy --all-targets

0 commit comments

Comments
 (0)