Skip to content

Commit 71911f5

Browse files
authored
Merge branch 'master' into own-crate
2 parents d39fc34 + b4aee1a commit 71911f5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/rust-clippy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: rust-clippy
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
clippy:
8+
name: Run rust-clippy
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
security-events: write
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Install Rust toolchain
18+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
19+
with:
20+
profile: minimal
21+
toolchain: stable
22+
components: clippy
23+
override: true
24+
25+
- name: Install required cargo
26+
run: rustup component add clippy
27+
28+
- name: Run rust-clippy
29+
run:
30+
cargo clippy
31+
--all-features
32+
--message-format=json
33+
continue-on-error: true

0 commit comments

Comments
 (0)