From 7417a2a76c2aa18a39bcf6245ef637a84b695695 Mon Sep 17 00:00:00 2001 From: ZhangJian He Date: Sun, 30 Jun 2024 21:47:37 +0800 Subject: [PATCH] ci: use official typos github action (#426) --- .github/workflows/ci_typos.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_typos.yml b/.github/workflows/ci_typos.yml index 51a6a7b91..3d8f5db76 100644 --- a/.github/workflows/ci_typos.yml +++ b/.github/workflows/ci_typos.yml @@ -41,7 +41,5 @@ jobs: FORCE_COLOR: 1 steps: - uses: actions/checkout@v4 - - run: curl -LsSf https://github.com/crate-ci/typos/releases/download/v1.14.8/typos-v1.14.8-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin - - - name: do typos check with typos-cli - run: typos + - name: Check typos + uses: crate-ci/typos@v1.22.9