@@ -207,24 +207,26 @@ jobs:
207
207
working-directory : ./editors/code
208
208
if : needs.changes.outputs.typescript == 'true'
209
209
210
- typos -check :
211
- name : Typos Check
210
+ typo -check :
211
+ name : Typo Check
212
212
runs-on : ubuntu-latest
213
213
timeout-minutes : 10
214
214
env :
215
215
FORCE_COLOR : 1
216
+ TYPOS_VERSION : v1.18.0
216
217
steps :
218
+ - name : download typos
217
219
- uses : actions/checkout@v4
218
- - run : curl -LsSf https://github.com/crate-ci/typos/releases/download/v1.17.2 /typos-v1.17.2 -x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
220
+ - run : curl -LsSf https://github.com/crate-ci/typos/releases/download/$TYPOS_VERSION /typos-$TYPOS_VERSION -x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
219
221
220
- - name : do typos check with typos-cli
222
+ - name : check for typos
221
223
run : typos
222
224
223
225
end-success :
224
226
name : bors build finished
225
227
if : github.event.pusher.name == 'bors' && success()
226
228
runs-on : ubuntu-latest
227
- needs : [rust, rust-cross, typescript, typos -check]
229
+ needs : [rust, rust-cross, typescript, typo -check]
228
230
steps :
229
231
- name : Mark the job as successful
230
232
run : exit 0
@@ -233,7 +235,7 @@ jobs:
233
235
name : bors build finished
234
236
if : github.event.pusher.name == 'bors' && !success()
235
237
runs-on : ubuntu-latest
236
- needs : [rust, rust-cross, typescript, typos -check]
238
+ needs : [rust, rust-cross, typescript, typo -check]
237
239
steps :
238
240
- name : Mark the job as a failure
239
241
run : exit 1
0 commit comments