Skip to content

Commit 8cc8caa

Browse files
cpsievertclaude
andcommitted
fix: add tree-sitter-cli to all workflows that build Rust
All workflows that compile tree-sitter-ggsql need tree-sitter-cli installed to generate the parser at build time. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4833913 commit 8cc8caa

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
sudo docker image prune --all --force
2121
sudo docker builder prune -a
2222
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '20'
27+
28+
- name: Install tree-sitter-cli
29+
run: npm install -g tree-sitter-cli
30+
2331
- name: Install Rust
2432
uses: dtolnay/rust-toolchain@stable
2533

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ jobs:
2121
sudo docker image prune --all --force
2222
sudo docker builder prune -a
2323
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
28+
29+
- name: Install tree-sitter-cli
30+
run: npm install -g tree-sitter-cli
31+
2432
- name: Install Rust
2533
uses: dtolnay/rust-toolchain@stable
2634

.github/workflows/publish.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ jobs:
2222
sudo docker image prune --all --force
2323
sudo docker builder prune -a
2424
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: '20'
29+
30+
- name: Install tree-sitter-cli
31+
run: npm install -g tree-sitter-cli
32+
2533
- name: Install Rust
2634
uses: dtolnay/rust-toolchain@stable
2735

0 commit comments

Comments
 (0)