https://github.com/tree-sitter/parser-setup-action
[DEPRECATED] Setup action for tree-sitter parsers
https://github.com/tree-sitter/parser-setup-action
actions tree-sitter
Last synced: 5 months ago
JSON representation
[DEPRECATED] Setup action for tree-sitter parsers
- Host: GitHub
- URL: https://github.com/tree-sitter/parser-setup-action
- Owner: tree-sitter
- License: mit
- Created: 2024-02-24T09:56:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-19T13:55:40.000Z (over 1 year ago)
- Last Synced: 2025-01-29T21:17:35.862Z (5 months ago)
- Topics: actions, tree-sitter
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree-sitter parser setup
## Options
```yaml
fetch-depth:
description: Repository fetch depth
default: 2
submodules:
description: Initialize submodules
default: false
tree-sitter-ref:
description: A tree-sitter commit, tag, or branch
default: latest
```## Example configuration
```yaml
name: CIon:
push:
branches: [master]
pull_request:jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: tree-sitter/parser-setup-action@v2
with:
submodules: true
- uses: tree-sitter/parser-test-action@v2
```