Skip to content

Commit f6cab2c

Browse files
committed
feat(CI): Add clippy check to workflow.
1 parent 390f906 commit f6cab2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- name: Install rustfmt
5353
run: rustup component add rustfmt
5454

55+
- name: Install clippy
56+
run: rustup component add clippy
57+
5558
- name: Download artifact
5659
run: curl -LO https://github.com/antoyo/gcc/releases/latest/download/${{ matrix.libgccjit_version.gcc }}
5760

@@ -98,6 +101,11 @@ jobs:
98101
- name: Check formatting
99102
run: cargo fmt -- --check
100103

104+
- name: clippy
105+
run: |
106+
cargo clippy --all-targets -- -D warnings
107+
cargo clippy --all-targets --features master -- -D warnings
108+
101109
duplicates:
102110
runs-on: ubuntu-latest
103111
steps:

0 commit comments

Comments
 (0)