File tree 1 file changed +5
-18
lines changed 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -46,37 +46,24 @@ jobs:
46
46
steps :
47
47
- name : Checkout sources
48
48
uses : actions/checkout@v4
49
- - uses : Swatinem/rust-cache@v2
50
- - uses : actions-rs/toolchain@v1
49
+ -
uses :
actions-rust-lang/[email protected]
51
50
with :
52
- profile : minimal
53
51
toolchain : stable
54
52
components : clippy
55
- override : true
56
53
- name : Clippy check
57
- uses : actions-rs/clippy-check@v1
58
- with :
59
- token : ${{ secrets.GITHUB_TOKEN }}
60
- args : --all-features
54
+ run : cargo clippy --all-features
61
55
62
56
fmt :
63
57
name : Rustfmt check
64
58
runs-on : ubuntu-latest
65
59
steps :
66
60
- name : Checkout sources
67
61
uses : actions/checkout@v4
68
- - uses : Swatinem/rust-cache@v2
69
- - uses : actions-rs/toolchain@v1
62
+ -
uses :
actions-rust-lang/[email protected]
70
63
with :
71
- profile : minimal
72
- toolchain : stable
64
+ toolchain : nightly
73
65
components : rustfmt
74
- override : true
75
- - name : Rustfmt check
76
- uses : actions-rs/cargo@v1
77
- with :
78
- command : fmt
79
- args : --all -- --check
66
+ - run : cargo +nightly fmt --all -- --check
80
67
81
68
prlint :
82
69
name : PR name check
You can’t perform that action at this time.
0 commit comments