Skip to content

Commit 11d4b2f

Browse files
committed
add clippy to CI
1 parent ddf6e3c commit 11d4b2f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ jobs:
109109
- uses: actions/checkout@v1
110110
with:
111111
submodules: true
112-
- name: Install Rust
112+
- name: Update Stable Rust
113113
run: rustup update stable && rustup default stable && rustup component add rustfmt
114114
- run: cargo fmt -- --check
115+
116+
clippy:
117+
name: Clippy
118+
runs-on: ubuntu-latest
119+
steps:
120+
- uses: actions/checkout@v1
121+
with:
122+
submodules: true
123+
- name: Update Nightly Rust
124+
run: rustup update nightly && rustup default nightly && rustup component add clippy
125+
- run: cargo clippy -- -D clippy::all

0 commit comments

Comments
 (0)