refactor: decouple tree_sitter grammar and bindings (#37) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tree-sitter CI | |
on: | |
push: | |
paths: | |
- 'tree_sitter_v/**' | |
- '**/test_tree_sitter_v.yml' | |
pull_request: | |
paths: | |
- 'tree_sitter_v/**' | |
- '**/test_tree_sitter_v.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: tree_sitter_v | |
steps: | |
- name: Checkout v-analyzer | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm update | |
- name: Run tests | |
run: npm run test | |
- name: Lint | |
run: npm run lint | |
- name: Verify formatting | |
run: npm run format:check |