Repository navigation
Fix version in tree-sitter.json #106
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{github.workflow}}-${{github.ref}} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-2022, macos-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Set up tree-sitter | |
| uses: tree-sitter/setup-action/cli@v2 | |
| with: | |
| tree-sitter-ref: v0.26.11 | |
| - name: Run tests | |
| uses: tree-sitter/parser-test-action@v3 | |
| with: | |
| test-rust: true | |
| test-node: true | |
| node-version: 22 # https://github.com/tree-sitter/node-tree-sitter/issues/268 | |
| test-python: true | |
| test-go: true | |
| - name: Run tests wild | |
| if: runner.os != 'Windows' | |
| continue-on-error: true | |
| run: node scripts/test_wild.mjs |