Skip to content

Commit

Permalink
ci: use official typos github action
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
  • Loading branch information
shoothzj committed May 23, 2024
1 parent 7d50e3c commit dde094b
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 dde094b

Please sign in to comment.