From 0a6fa0eb3514fe24025317a8369442c1f5a74f24 Mon Sep 17 00:00:00 2001 From: Ap_Tx <3045929398@qq.com> Date: Thu, 1 Oct 2026 08:20:46 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20tombi=20=E6=94=B9=E7=94=A8=20npx?= =?UTF-8?q?=20=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit taiki-e/install-action@v2.81.9 不支持 tombi 1.6.1(报 "version 1.6.1 is not supported")。改用 npx 安装 tombi@1.6.1,避免 install-action 的版本白名单限制,并与本地格式化版本一致。 --- .github/workflows/check-generic.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-generic.yml b/.github/workflows/check-generic.yml index 8902b68..c34ec65 100644 --- a/.github/workflows/check-generic.yml +++ b/.github/workflows/check-generic.yml @@ -22,8 +22,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: taiki-e/install-action@fd2f5e3d644b484055ebf4268f474c565f148f25 # v2.81.9 - with: - tool: tombi@1.6.1 - - run: tombi lint - - run: tombi fmt --check + - run: npx --yes tombi@1.6.1 lint + - run: npx --yes tombi@1.6.1 fmt --check