Skip to content

Commit 3b37c64

Browse files
committed
ci: Also run clippy, and build docs with warnings
1 parent 91137c7 commit 3b37c64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ jobs:
3434
with:
3535
toolchain: ${{ matrix.toolchain }}
3636
target: ${{ matrix.target }}
37-
components: rustfmt
37+
components: rustfmt, clippy
3838

3939
- run: cargo fmt --check
40+
- run: cargo clippy --target=${{ matrix.target }} -- -Dwarnings
4041
- run: cargo build --target=${{ matrix.target }}
4142
- run: cargo doc --target=${{ matrix.target }}
43+
env:
44+
RUSTDOCFLAGS: -Dwarnings
4245
# Temporary test non-target only.
4346
# TODO: Test in emulator or something.
4447
- run: cargo test

0 commit comments

Comments
 (0)