Add basic queries to work as syntax highlighter on nvim. #2
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| jobs: | |
| corpus-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Download Tree-sitter | |
| run: .github/workflows/install-tree-sitter.sh v0.22.5 | |
| - name: Run tests | |
| run: tree-sitter test | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Download Tree-sitter | |
| run: .github/workflows/install-tree-sitter.sh v0.22.5 | |
| - name: Regenerate parser | |
| run: tree-sitter generate | |
| - name: Check for changes | |
| run: git diff --stat --exit-code |