File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -48,25 +48,23 @@ jobs:
48
48
49
49
- run : cargo check --lib --all-features
50
50
51
- lint :
52
- name : Lint
51
+ format :
52
+ name : Format
53
53
runs-on : ubuntu-latest
54
54
steps :
55
55
- uses : actions/checkout@v4
56
-
57
- - name : Install stable toolchain
58
- run : |
59
- rustup set profile minimal
60
- rustup override set stable
61
-
62
- - name : Install clippy
63
- run : |
64
- rustup component add clippy
65
- rustup component add rustfmt
66
-
67
- - name : Format
56
+ - name : Install rustfmt
57
+ run : rustup component add rustfmt
58
+ - name : Check Format
68
59
run : cargo fmt --all -- --check
69
60
61
+ clippy :
62
+ name : Clippy
63
+ runs-on : ubuntu-latest
64
+ steps :
65
+ - uses : actions/checkout@v4
66
+ - name : Install clippy
67
+ run : rustup component add clippy
70
68
- name : Run clippy
71
69
run : cargo clippy --all-features --all-targets -- -D warnings
72
70
You can’t perform that action at this time.
0 commit comments