Skip to content

Commit

Permalink
ci: use official typos github action (apache#4635)
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
  • Loading branch information
shoothzj authored and George-Miao committed Jun 5, 2024
1 parent 76d7512 commit c0844ad
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,10 @@ jobs:
timeout-minutes: 10
env:
FORCE_COLOR: 1
TYPOS_VERSION: v1.21.0
steps:
- name: download typos
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

- name: Checkout repository
uses: actions/checkout@v4

- name: do typos check with typos-cli
run: typos
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@v1.21.0

licenses:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c0844ad

Please sign in to comment.