@@ -19,11 +19,10 @@ jobs:
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- - uses : actions-rs/ toolchain@v1
22
+ - uses : dtolnay/rust- toolchain@stable
23
23
with :
24
24
profile : minimal
25
- toolchain : stable
26
- override : true
25
+ toolchain : " stable"
27
26
- uses : actions-rs/cargo@v1
28
27
with :
29
28
command : check
@@ -34,12 +33,12 @@ jobs:
34
33
runs-on : ubuntu-latest
35
34
steps :
36
35
- uses : actions/checkout@v4
37
- - uses : actions-rs/ toolchain@v1
36
+ - uses : dtolnay/rust- toolchain@stable
38
37
with :
39
38
profile : minimal
40
- toolchain : stable
39
+ toolchain : " stable"
40
+ components : rustfmt
41
41
target : wasm32-unknown-unknown
42
- override : true
43
42
- uses : actions-rs/cargo@v1
44
43
with :
45
44
command : check
@@ -50,11 +49,10 @@ jobs:
50
49
runs-on : ubuntu-latest
51
50
steps :
52
51
- uses : actions/checkout@v4
53
- - uses : actions-rs/ toolchain@v1
52
+ - uses : dtolnay/rust- toolchain@stable
54
53
with :
55
54
profile : minimal
56
- toolchain : stable
57
- override : true
55
+ toolchain : " stable"
58
56
- run : sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
59
57
- uses : actions-rs/cargo@v1
60
58
with :
@@ -66,11 +64,10 @@ jobs:
66
64
runs-on : ubuntu-latest
67
65
steps :
68
66
- uses : actions/checkout@v4
69
- - uses : actions-rs/ toolchain@v1
67
+ - uses : dtolnay/rust- toolchain@stable
70
68
with :
71
69
profile : minimal
72
- toolchain : stable
73
- override : true
70
+ toolchain : " stable"
74
71
components : rustfmt
75
72
- uses : actions-rs/cargo@v1
76
73
with :
@@ -82,11 +79,10 @@ jobs:
82
79
runs-on : ubuntu-latest
83
80
steps :
84
81
- uses : actions/checkout@v4
85
- - uses : actions-rs/ toolchain@v1
82
+ - uses : dtolnay/rust- toolchain@stable
86
83
with :
87
84
profile : minimal
88
- toolchain : stable
89
- override : true
85
+ toolchain : " stable"
90
86
components : clippy
91
87
- uses : actions-rs/cargo@v1
92
88
with :
@@ -109,6 +105,7 @@ jobs:
109
105
run : ./trunk build
110
106
111
107
build :
108
+ if : false
112
109
runs-on : ${{ matrix.os }}
113
110
strategy :
114
111
fail-fast : false
@@ -138,9 +135,10 @@ jobs:
138
135
run : echo "${{ matrix.TARGET }}"
139
136
140
137
- uses : actions/checkout@master
141
- - uses : actions-rs/ toolchain@v1.0.1
138
+ - uses : dtolnay/rust- toolchain@stable
142
139
with :
143
- toolchain : stable
140
+ profile : minimal
141
+ toolchain : " stable"
144
142
target : ${{ matrix.TARGET }}
145
143
override : true
146
144
0 commit comments