Skip to content

Commit e3ef47e

Browse files
committed
ci: add clippy
1 parent ac6a87d commit e3ef47e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
OPAM_VERSION: 2.3.0
8181
DUNE_PROFILE: release
8282
RUST_BACKTRACE: "1"
83+
RUSTFLAGS: "-Dwarnings"
8384

8485
steps:
8586
- name: "Windows: Set git config"
@@ -131,6 +132,11 @@ jobs:
131132
run: |
132133
cargo build --manifest-path rewatch/Cargo.toml --target ${{ matrix.rust-target }} --release
133134
135+
- name: Lint rewatch
136+
if: steps.rewatch-build-cache.outputs.cache-hit != 'true'
137+
run: |
138+
cargo clippy --manifest-path rewatch/Cargo.toml --all-targets --all-features
139+
134140
- name: Run rewatch unit tests
135141
if: steps.rewatch-build-cache.outputs.cache-hit != 'true'
136142
run: |

0 commit comments

Comments
 (0)