File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ concurrency:
21
21
cancel-in-progress : true
22
22
23
23
jobs :
24
- check :
24
+ check :
25
+ permissions :
26
+ pull-requests : write
25
27
name : Check - ${{ matrix.run_args.label }}
26
28
runs-on : ${{ matrix.run_args.os }}
27
29
strategy :
Original file line number Diff line number Diff line change @@ -300,6 +300,12 @@ impl Xtasks {
300
300
let mut args = vec ! [ ] ;
301
301
args. push ( command. to_owned ( ) ) ;
302
302
args. push ( "--workspace" . to_owned ( ) ) ;
303
+ let profile = Self :: get_cargo_profile ( ) ;
304
+ if let Some ( profile) = profile {
305
+ args. push ( "--profile" . to_owned ( ) ) ;
306
+ args. push ( profile) ;
307
+ }
308
+
303
309
args. extend ( features. to_cargo_args ( ) ) ;
304
310
args. extend ( add_args. into_iter ( ) . map ( |s| {
305
311
s. as_ref ( )
@@ -308,12 +314,6 @@ impl Xtasks {
308
314
. to_owned ( )
309
315
} ) ) ;
310
316
311
- let profile = Self :: get_cargo_profile ( ) ;
312
- if let Some ( profile) = profile {
313
- args. push ( "--profile" . to_owned ( ) ) ;
314
- args. push ( profile) ;
315
- }
316
-
317
317
let working_dir = match dir {
318
318
Some ( d) => Self :: relative_workspace_dir ( d) ?,
319
319
None => Self :: workspace_dir ( ) ?,
You can’t perform that action at this time.
0 commit comments