Merge pull request #33359 from awanlin/topic/typos-cli
Added `typos` to CI and fixed all findings
This commit is contained in:
@@ -31,6 +31,13 @@ jobs:
|
||||
|
||||
- run: echo NOOP
|
||||
|
||||
typos-noop:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: Spell Check
|
||||
steps:
|
||||
- run: echo NOOP
|
||||
|
||||
test-noop:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
@@ -165,6 +165,23 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
typos:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: Spell Check
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: check for typos
|
||||
uses: crate-ci/typos@631208b7aac2daa8b707f55e7331f9112b0e062d # v1.44.0
|
||||
with:
|
||||
config: typos.toml
|
||||
|
||||
# The test job runs all tests as well as any verification step that
|
||||
# requires a diff towards master.
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user