File tree Expand file tree Collapse file tree 3 files changed +10
-28
lines changed Expand file tree Collapse file tree 3 files changed +10
-28
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,10 @@ jobs:
54
54
- uses : actions/checkout@v3
55
55
56
56
- name : install stable toolchain
57
- uses : actions-rs/ toolchain@v1
57
+ uses : dtolnay/rust- toolchain@master
58
58
with :
59
59
toolchain : stable
60
60
target : ${{ matrix.target }}
61
- profile : minimal
62
- override : true
63
61
64
62
- name : build libraries
65
63
run : |
Original file line number Diff line number Diff line change @@ -11,21 +11,16 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
name : Check formatting
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
16
16
- name : install stable toolchain
17
- uses : actions-rs/ toolchain@v1
17
+ uses : dtolnay/rust- toolchain@master
18
18
with :
19
19
toolchain : stable
20
- profile : minimal
21
20
components : rustfmt
22
- override : true
23
21
24
22
- name : cargo fmt
25
- uses : actions-rs/cargo@v1
26
- with :
27
- command : fmt
28
- args : --all -- --check
23
+ run : cargo fmt --all -- --check
29
24
30
25
- name : clang-format
31
26
uses : jidicula/clang-format-action@v4.11.0
@@ -40,29 +35,22 @@ jobs:
40
35
os : [macOS-latest, windows-2019, ubuntu-latest]
41
36
name : cargo clippy+test
42
37
steps :
43
- - uses : actions/checkout@v2
38
+ - uses : actions/checkout@v3
44
39
45
40
- name : install stable toolchain
46
- uses : actions-rs/ toolchain@v1
41
+ uses : dtolnay/rust- toolchain@master
47
42
with :
48
43
toolchain : stable
49
44
components : clippy
50
- profile : minimal
51
- override : true
52
45
53
46
- name : restore cache
54
- uses : Swatinem/rust-cache@v1
47
+ uses : Swatinem/rust-cache@v2
55
48
56
49
- name : cargo clippy
57
- uses : actions-rs/cargo@v1
58
- with :
59
- command : clippy
60
- args : --all-targets -- -D warnings
50
+ run : cargo clippy --all-targets -- -D warnings
61
51
62
52
- name : cargo test
63
- uses : actions-rs/cargo@v1
64
- with :
65
- command : test
53
+ run : cargo test
66
54
67
55
generate-headers :
68
56
uses : AccessKit/accesskit/.github/workflows/generate-headers.yml@main
Original file line number Diff line number Diff line change 9
9
- uses : actions/checkout@v3
10
10
11
11
- name : install nightly toolchain
12
- uses : actions-rs/toolchain@v1
13
- with :
14
- toolchain : nightly
15
- profile : minimal
16
- override : true
12
+ uses : dtolnay/rust-toolchain@nightly
17
13
18
14
- uses : dtolnay/install@master
19
15
with :
You can’t perform that action at this time.
0 commit comments