Skip to content

Commit f6168c8

Browse files
pitbusterFelipe Contreras Salinas
and
Felipe Contreras Salinas
authored
ci: Run clippy via GH Actions (#342)
Co-authored-by: Felipe Contreras Salinas <[email protected]>
1 parent 5d4338e commit f6168c8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/clippy.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Clippy
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
9+
10+
jobs:
11+
lints:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Toolchain setup
17+
uses: dtolnay/rust-toolchain@master
18+
with:
19+
toolchain: stable
20+
components: rustfmt
21+
22+
- name: Clippy
23+
run: cargo clippy -- --all-features -Dwarnings

0 commit comments

Comments
 (0)