Commit 5209f70 1 parent 1a87889 commit 5209f70 Copy full SHA for 5209f70
File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -556,6 +556,13 @@ jobs:
556
556
cargo fmt --check
557
557
exit $(docker wait gateway-format)
558
558
559
+ - name : Clippy check
560
+ run : |
561
+ docker run --name=gateway-clippy --net=host -v $PWD/output:/output \
562
+ ${{ fromJSON(needs.build.outputs.stable_tags).gateway-test }} \
563
+ cargo clippy --all-features --all-targets -- -D warnings
564
+ exit $(docker wait gateway-clippy)
565
+
559
566
check_front :
560
567
runs-on : ubuntu-latest
561
568
needs :
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ RUN cargo install --locked --path .
28
28
FROM chef AS testing_env
29
29
RUN rustup component add llvm-tools && \
30
30
rustup component add rustfmt && \
31
+ rustup component add clippy && \
31
32
cargo install --locked grcov
32
33
COPY --from=planner /app/recipe.json recipe.json
33
34
You can’t perform that action at this time.
0 commit comments