fix(ci): pin taplo version and fix glob pattern in format check

This commit is contained in:
Evan Hu committed 2026-03-21 02:48:31 +09:00
1 parent a8b7c9d08b
commit 994b60c0d9
1 file changed
+3 -3
+3 -3
View File
@@ -21,18 +21,18 @@ jobs:
toml-format-check: toml-format-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install taplo - name: Install taplo
run: | run: |
curl -fsSL https://github.com/tamasfe/taplo/releases/latest/download/taplo-full-linux-x86_64.gz \ curl -fsSL https://github.com/tamasfe/taplo/releases/download/0.9.3/taplo-full-linux-x86_64.gz \
| gunzip > /usr/local/bin/taplo | gunzip > /usr/local/bin/taplo
chmod +x /usr/local/bin/taplo chmod +x /usr/local/bin/taplo
- name: Check TOML formatting - name: Check TOML formatting
continue-on-error: true run: find . -name '*.toml' -not -path './.git/*' | xargs taplo fmt --check
run: taplo fmt --check **/*.toml
markdown-link-check: markdown-link-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest