From 0eaf0c2675efa94bae0b72262c8698bb1da934ae Mon Sep 17 00:00:00 2001 From: ZhangJian He Date: Sun, 30 Jun 2024 21:17:55 +0800 Subject: [PATCH] ci: use official typos github action Signed-off-by: ZhangJian He --- .github/workflows/kvrocks.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml index a1cf41e8e45..ef63fef0622 100644 --- a/.github/workflows/kvrocks.yaml +++ b/.github/workflows/kvrocks.yaml @@ -57,10 +57,10 @@ jobs: FORCE_COLOR: 1 steps: - uses: actions/checkout@v4 - - name: Install typos - run: curl -LsSf https://github.com/crate-ci/typos/releases/download/v1.18.2/typos-v1.18.2-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin - - name: Run typos check - run: typos --config .github/config/typos.toml + - name: Check typos + uses: crate-ci/typos@v1.18.2 + with: + config: .github/config/typos.toml check-and-lint: name: Lint and check code