Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter/parser-setup-action
Setup action for tree-sitter parsers
https://github.com/tree-sitter/parser-setup-action
actions tree-sitter
Last synced: about 1 month ago
JSON representation
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 (9 months ago)
- Default Branch: master
- Last Pushed: 2024-03-19T13:55:40.000Z (8 months ago)
- Last Synced: 2024-09-27T10:22:14.958Z (about 2 months ago)
- Topics: actions, tree-sitter
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- 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
```