-
Notifications
You must be signed in to change notification settings - Fork 110
39 lines (36 loc) · 968 Bytes
/
clippy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# .github/workflows/clippy.yml
name: Clippy Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
libwasmvm_clippy_msrv:
runs-on: ubuntu-latest
container:
image: rust:1.83.0
steps:
- uses: actions/checkout@v4
- name: Version information
run: rustc --version && cargo --version
- name: Add clippy component
run: rustup component add clippy
- name: Run clippy
working-directory: libwasmvm
run: cargo clippy --all-targets -- -D warnings
libwasmvm_clippy_stable:
runs-on: ubuntu-latest
container:
image: rust:1.83.0
steps:
- uses: actions/checkout@v4
- name: Version information
run: rustc --version && cargo --version
- name: Add clippy component
run: rustup component add clippy
- name: Run clippy
working-directory: libwasmvm
run: cargo clippy --all-targets -- -D warnings