@@ -14,13 +14,11 @@ jobs:
14
14
steps :
15
15
16
16
- name : Checkout
17
- uses : actions/checkout@v1
17
+ uses : actions/checkout@v3
18
+
18
19
- name : Install Rust
19
- uses : actions-rs/ toolchain@v1
20
+ uses : dtolnay/rust- toolchain@stable
20
21
with :
21
- profile : minimal
22
- toolchain : stable
23
- override : true
24
22
components : rustfmt
25
23
26
24
- name : cargo fmt --check
@@ -41,14 +39,14 @@ jobs:
41
39
- nightly
42
40
steps :
43
41
- name : Checkout
44
- uses : actions/checkout@v2
42
+ uses : actions/checkout@v3
45
43
46
44
- name : Install Rust (${{ matrix.rust }})
47
- uses : actions-rs/ toolchain@v1
45
+ uses : dtolnay/rust- toolchain@master
48
46
with :
49
- profile : minimal
50
47
toolchain : ${{ matrix.rust }}
51
- override : true
48
+ id : toolchain
49
+ - run : rustup override set ${{steps.toolchain.outputs.name}}
52
50
53
51
- uses : actions/cache@v2
54
52
with :
@@ -92,13 +90,10 @@ jobs:
92
90
steps :
93
91
94
92
- name : Checkout
95
- uses : actions/checkout@v1
93
+ uses : actions/checkout@v3
96
94
- name : Install Rust
97
- uses : actions-rs/ toolchain@v1
95
+ uses : dtolnay/rust- toolchain@stable
98
96
with :
99
- profile : minimal
100
- toolchain : stable
101
- override : true
102
97
components : rustfmt
103
98
104
99
- name : cargo doc --all --no-deps --document-private-items --all-features
@@ -112,21 +107,21 @@ jobs:
112
107
runs-on : ubuntu-latest
113
108
steps :
114
109
- name : Checkout
115
- uses : actions/checkout@v2
110
+ uses : actions/checkout@v3
116
111
117
112
- name : Install Rust (${{ matrix.rust }})
118
- uses : actions-rs/toolchain@v1
113
+ uses : dtolnay/rust-toolchain@stable
114
+ id : toolchain-thumbv6m
119
115
with :
120
- toolchain : stable
121
116
target : thumbv6m-none-eabi
122
- override : true
117
+ - run : rustup override set ${{steps.toolchain-thumbv6m.outputs.name}}
123
118
124
119
- name : Install Rust ARM64 (${{ matrix.rust }})
125
- uses : actions-rs/toolchain@v1
120
+ uses : dtolnay/rust-toolchain@stable
121
+ id : toolchain-aarch64
126
122
with :
127
- toolchain : stable
128
123
target : aarch64-unknown-none
129
- override : true
124
+ - run : rustup override set ${{steps.toolchain-aarch64.outputs.name}}
130
125
131
126
- uses : actions/cache@v2
132
127
with :
@@ -154,7 +149,6 @@ jobs:
154
149
- vesta
155
150
- mnt4_298
156
151
- mnt6_298
157
- - mnt6_753
158
152
- ed_on_bls12_381
159
153
steps :
160
154
- name : Checkout curves
@@ -168,11 +162,7 @@ jobs:
168
162
path : r1cs-std
169
163
170
164
- name : Install Rust
171
- uses : actions-rs/toolchain@v1
172
- with :
173
- profile : minimal
174
- toolchain : stable
175
- override : true
165
+ uses : dtolnay/rust-toolchain@stable
176
166
177
167
- name : Patch cargo.toml
178
168
run : |
0 commit comments