fix(ci): install ripgrep for version guard

This commit is contained in:
Kayshen-X 2026-07-15 22:47:01 +08:00
parent 6721a02837
commit 0635927c42
2 changed files with 6 additions and 0 deletions

View file

@ -85,6 +85,11 @@ jobs:
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Install ripgrep
run: |
sudo apt-get update
sudo apt-get install --yes ripgrep
- name: Install SDK dependencies
working-directory: packages
run: bun install --frozen-lockfile

View file

@ -205,6 +205,7 @@ assert_file_contains "$workflow" 'push:' 'version sync workflow trigger'
assert_file_contains "$workflow" 'submodules: recursive' 'version sync checkout'
assert_file_contains "$workflow" 'dtolnay/rust-toolchain@stable' 'version sync Rust setup'
assert_file_contains "$workflow" 'oven-sh/setup-bun@v2' 'version sync Bun setup'
assert_file_contains "$workflow" 'sudo apt-get install --yes ripgrep' 'version sync ripgrep setup'
assert_file_contains "$workflow" 'bun install --frozen-lockfile' 'version sync dependency install'
assert_file_contains "$workflow" 'packages/bun.lock' 'version sync managed paths'
assert_file_contains "$workflow" 'packages/scripts/sync-version.mjs' 'version sync implementation paths'