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:
207
207
working-directory : ./editors/code
208
208
if : needs.changes.outputs.typescript == 'true'
209
209
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
+
210
223
end-success :
211
224
name : bors build finished
212
225
if : github.event.pusher.name == 'bors' && success()
213
226
runs-on : ubuntu-latest
214
- needs : [rust, rust-cross, typescript]
227
+ needs : [rust, rust-cross, typescript, typos-check ]
215
228
steps :
216
229
- name : Mark the job as successful
217
230
run : exit 0
@@ -220,7 +233,7 @@ jobs:
220
233
name : bors build finished
221
234
if : github.event.pusher.name == 'bors' && !success()
222
235
runs-on : ubuntu-latest
223
- needs : [rust, rust-cross, typescript]
236
+ needs : [rust, rust-cross, typescript, typos-check ]
224
237
steps :
225
238
- name : Mark the job as a failure
226
239
run : exit 1
You can’t perform that action at this time.
0 commit comments