Skip to content

Commit 7419e09

Browse files
committed
internal: update typo-check CI setting
1 parent 70d6141 commit 7419e09

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,24 +207,26 @@ 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:
218+
- name: download typos
217219
- 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
219221

220-
- name: do typos check with typos-cli
222+
- name: check for typos
221223
run: typos
222224

223225
end-success:
224226
name: bors build finished
225227
if: github.event.pusher.name == 'bors' && success()
226228
runs-on: ubuntu-latest
227-
needs: [rust, rust-cross, typescript, typos-check]
229+
needs: [rust, rust-cross, typescript, typo-check]
228230
steps:
229231
- name: Mark the job as successful
230232
run: exit 0
@@ -233,7 +235,7 @@ jobs:
233235
name: bors build finished
234236
if: github.event.pusher.name == 'bors' && !success()
235237
runs-on: ubuntu-latest
236-
needs: [rust, rust-cross, typescript, typos-check]
238+
needs: [rust, rust-cross, typescript, typo-check]
237239
steps:
238240
- name: Mark the job as a failure
239241
run: exit 1

0 commit comments

Comments
 (0)