This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -207,11 +207,24 @@ jobs:
207207 working-directory : ./editors/code
208208 if : needs.changes.outputs.typescript == 'true'
209209
210+ typos-check :
211+ name : Typos Check
212+ runs-on : ubuntu-latest
213+ timeout-minutes : 10
214+ env :
215+ FORCE_COLOR : 1
216+ 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
219+
220+ - name : do typos check with typos-cli
221+ run : typos
222+
210223 end-success :
211224 name : bors build finished
212225 if : github.event.pusher.name == 'bors' && success()
213226 runs-on : ubuntu-latest
214- needs : [rust, rust-cross, typescript]
227+ needs : [rust, rust-cross, typescript, typos-check ]
215228 steps :
216229 - name : Mark the job as successful
217230 run : exit 0
@@ -220,7 +233,7 @@ jobs:
220233 name : bors build finished
221234 if : github.event.pusher.name == 'bors' && !success()
222235 runs-on : ubuntu-latest
223- needs : [rust, rust-cross, typescript]
236+ needs : [rust, rust-cross, typescript, typos-check ]
224237 steps :
225238 - name : Mark the job as a failure
226239 run : exit 1
You can’t perform that action at this time.
0 commit comments