@@ -207,24 +207,25 @@ jobs:
207207 working-directory : ./editors/code
208208 if : needs.changes.outputs.typescript == 'true'
209209
210- typos -check :
211- name : Typos Check
210+ typo -check :
211+ name : Typo Check
212212 runs-on : ubuntu-latest
213213 timeout-minutes : 10
214214 env :
215215 FORCE_COLOR : 1
216+ TYPOS_VERSION : v1.18.0
216217 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
219220
220- - name : do typos check with typos-cli
221+ - name : check for typos
221222 run : typos
222223
223224 end-success :
224225 name : bors build finished
225226 if : github.event.pusher.name == 'bors' && success()
226227 runs-on : ubuntu-latest
227- needs : [rust, rust-cross, typescript, typos -check]
228+ needs : [rust, rust-cross, typescript, typo -check]
228229 steps :
229230 - name : Mark the job as successful
230231 run : exit 0
@@ -233,7 +234,7 @@ jobs:
233234 name : bors build finished
234235 if : github.event.pusher.name == 'bors' && !success()
235236 runs-on : ubuntu-latest
236- needs : [rust, rust-cross, typescript, typos -check]
237+ needs : [rust, rust-cross, typescript, typo -check]
237238 steps :
238239 - name : Mark the job as a failure
239240 run : exit 1
0 commit comments