Skip to content

Commit 2ee86b5

Browse files
committed
Add clippy build step to CI
1 parent 3014f0a commit 2ee86b5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,22 @@ jobs:
6969
with:
7070
command: fmt
7171
args: --all -- --check
72+
73+
clippy:
74+
name: Clippy Lints
75+
runs-on: ubuntu-18.04
76+
steps:
77+
- name: Checkout Repository
78+
uses: actions/checkout@master
79+
80+
- name: Setup Rust Toolchain
81+
uses: actions-rs/toolchain@v1
82+
with:
83+
toolchain: stable
84+
override: true
85+
components: clippy
86+
- name: Run clippy tool
87+
uses: actions-rs/cargo@v1
88+
with:
89+
command: clippy
90+
args: --all

0 commit comments

Comments
 (0)