File tree 2 files changed +13
-23
lines changed 2 files changed +13
-23
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,8 @@ jobs:
136
136
steps :
137
137
- uses : actions/checkout@v4
138
138
- name : " Install nightly Rust (minimal-deps only)"
139
- uses : actions-rs/toolchain@v1
140
- with :
141
- profile : minimal
142
- toolchain : nightly
143
- override : false # use selected toolchain for remainder of this step
144
- components : cargo
145
139
if : ${{ matrix.rust.special == 'minimal-deps' }}
140
+ run : rustup toolchain install nightly --profile minimal --component cargo
146
141
- name : " Install minimal dependency versions from Cargo"
147
142
run : cargo +nightly update -Z minimal-versions
148
143
if : ${{ matrix.rust.special == 'minimal-deps' }}
Original file line number Diff line number Diff line change @@ -74,11 +74,10 @@ jobs:
74
74
needs : validation
75
75
steps :
76
76
- uses : actions/checkout@v4
77
- - uses : actions-rs/toolchain@v1
78
- with :
79
- profile : minimal
80
- toolchain : stable
81
- override : true
77
+ - name : " Install Rust toolchain"
78
+ run : |
79
+ rustup toolchain install stable --profile minimal
80
+ rustup default stable
82
81
- name : " Compile tests"
83
82
run : cargo test --workspace --features ${GDRUST_FEATURES} --no-run
84
83
- name : " Test"
@@ -89,12 +88,10 @@ jobs:
89
88
needs : validation
90
89
steps :
91
90
- uses : actions/checkout@v4
92
- - uses : actions-rs/toolchain@v1
93
- with :
94
- profile : minimal
95
- toolchain : stable
96
- override : true
97
- components : clippy
91
+ - name : " Install Rust toolchain"
92
+ run : |
93
+ rustup toolchain install stable --profile minimal --component clippy
94
+ rustup default stable
98
95
- name : " Check clippy"
99
96
run : cargo clippy --workspace --features ${GDRUST_FEATURES} -- -D clippy::style -D clippy::complexity -D clippy::perf -D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented
100
97
@@ -103,12 +100,10 @@ jobs:
103
100
needs : validation
104
101
steps :
105
102
- uses : actions/checkout@v4
106
- - uses : actions-rs/toolchain@v1
107
- with :
108
- profile : minimal
109
- toolchain : stable
110
- override : true
111
- components : rustfmt
103
+ - name : " Install Rust toolchain"
104
+ run : |
105
+ rustup toolchain install stable --profile minimal --component rustfmt
106
+ rustup default stable
112
107
- name : " Check rustfmt"
113
108
run : cargo fmt --all -- --check
114
109
You can’t perform that action at this time.
0 commit comments