File tree 2 files changed +11
-18
lines changed
2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change 32
32
steps :
33
33
- name : Checkout
34
34
uses : actions/checkout@v4
35
- - uses : actions-rs/toolchain@v1
36
- with :
37
- default : true
38
- toolchain : 1.77.1
39
- - name : Add tragets
35
+ - name : Setup toolchain
36
+ run : rustup default 1.77.1
37
+ - name : Add targets
40
38
run : |
41
39
rustup target add aarch64-unknown-linux-gnu
42
40
rustup target add aarch64-apple-darwin
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@v4
16
- - uses : actions-rs/toolchain@v1
17
- with :
18
- default : true
19
- toolchain : 1.77.1
16
+ - name : Setup toolchain
17
+ run : rustup default 1.77.1
20
18
- name : Run rust tests
21
19
run : cargo test
22
20
clippy_check :
25
23
runs-on : ubuntu-latest
26
24
steps :
27
25
- uses : actions/checkout@v4
28
- - uses : actions-rs/toolchain@v1
29
- with :
30
- toolchain : 1.77.1
31
- components : clippy
32
- default : true
33
- - uses : actions-rs/clippy-check@v1
34
- with :
35
- token : ${{ secrets.GITHUB_TOKEN }}
36
- args : --all-features
26
+ - name : Setup toolchain
27
+ run : |
28
+ rustup default 1.77.1
29
+ rustup component add clippy
30
+ - name : Run clippy
31
+ run : cargo clippy --all-features
You can’t perform that action at this time.
0 commit comments