33
33
- name : Checkout Repository
34
34
uses : actions/checkout@v3
35
35
- name : Install Rust
36
- uses : actions-rs/ toolchain@v1
36
+ uses : dtolnay/rust- toolchain@master
37
37
with :
38
38
toolchain : ${{ matrix.toolchain }}
39
- profile : minimal
40
39
- name : Build
41
40
run : |
42
41
cargo --locked build --all-features --profile ${{ matrix.profile }}
72
71
- name : Checkout Repository
73
72
uses : actions/checkout@v3
74
73
- name : Install Rust
75
- uses : actions-rs/ toolchain@v1
74
+ uses : dtolnay/rust- toolchain@master
76
75
with :
77
76
toolchain : stable
78
- profile : minimal
79
77
- name : Run Unit Tests
80
78
run : |
81
79
cargo --locked test
87
85
- name : Checkout repository
88
86
uses : actions/checkout@v3
89
87
- name : Install Rust
90
- uses : actions-rs/ toolchain@v1
88
+ uses : dtolnay/rust- toolchain@master
91
89
with :
92
90
toolchain : stable
93
- profile : minimal
94
91
components : clippy
95
92
- name : Clippy Checks
96
93
run : |
@@ -103,10 +100,9 @@ jobs:
103
100
- name : Checkout repository
104
101
uses : actions/checkout@v3
105
102
- name : Install Rust
106
- uses : actions-rs/ toolchain@v1
103
+ uses : dtolnay/rust- toolchain@master
107
104
with :
108
105
toolchain : stable
109
- profile : minimal
110
106
components : rustfmt
111
107
- name : Check formatting
112
108
run : |
@@ -119,10 +115,9 @@ jobs:
119
115
- name : Checkout Repository
120
116
uses : actions/checkout@v3
121
117
- name : Install Rust
122
- uses : actions-rs/ toolchain@v1
118
+ uses : dtolnay/rust- toolchain@master
123
119
with :
124
120
toolchain : stable
125
- profile : minimal
126
121
- name : Build docs
127
122
run : |
128
123
cargo rustdoc -- --deny warnings
@@ -134,10 +129,9 @@ jobs:
134
129
- name : Checkout Repository
135
130
uses : actions/checkout@v3
136
131
- name : Install Rust
137
- uses : actions-rs/ toolchain@v1
132
+ uses : dtolnay/rust- toolchain@master
138
133
with :
139
134
toolchain : stable
140
- profile : minimal
141
135
- name : Install dependencies
142
136
run : |
143
137
sudo apt-get update
@@ -164,10 +158,9 @@ jobs:
164
158
- name : Checkout Repository
165
159
uses : actions/checkout@v3
166
160
- name : Install Rust
167
- uses : actions-rs/ toolchain@v1
161
+ uses : dtolnay/rust- toolchain@master
168
162
with :
169
163
toolchain : stable
170
- profile : minimal
171
164
- name : Build
172
165
run : |
173
166
cargo --locked build --all-features --profile release
0 commit comments