@@ -207,24 +207,25 @@ 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 :
217
- - 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
218
+ - name : download typos
219
+ 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
220
220
- - name : do typos check with typos-cli
221
+ - name : check for typos
221
222
run : typos
222
223
223
224
end-success :
224
225
name : bors build finished
225
226
if : github.event.pusher.name == 'bors' && success()
226
227
runs-on : ubuntu-latest
227
- needs : [rust, rust-cross, typescript, typos -check]
228
+ needs : [rust, rust-cross, typescript, typo -check]
228
229
steps :
229
230
- name : Mark the job as successful
230
231
run : exit 0
@@ -233,7 +234,7 @@ jobs:
233
234
name : bors build finished
234
235
if : github.event.pusher.name == 'bors' && !success()
235
236
runs-on : ubuntu-latest
236
- needs : [rust, rust-cross, typescript, typos -check]
237
+ needs : [rust, rust-cross, typescript, typo -check]
237
238
steps :
238
239
- name : Mark the job as a failure
239
240
run : exit 1
0 commit comments