{"id":21475264,"url":"https://github.com/rinx/setup-tree-sitter-parser","last_synced_at":"2026-01-02T23:55:30.786Z","repository":{"id":254440656,"uuid":"846541598","full_name":"rinx/setup-tree-sitter-parser","owner":"rinx","description":"an action to install tree-sitter cli and build tree-sitter parser.","archived":false,"fork":false,"pushed_at":"2024-08-25T03:23:02.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T16:47:52.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rinx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-23T12:34:58.000Z","updated_at":"2024-08-25T03:19:43.000Z","dependencies_parsed_at":"2024-08-23T14:21:12.039Z","dependency_job_id":null,"html_url":"https://github.com/rinx/setup-tree-sitter-parser","commit_stats":null,"previous_names":["rinx/setup-tree-sitter-parser"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-tree-sitter-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-tree-sitter-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-tree-sitter-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-tree-sitter-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinx","download_url":"https://codeload.github.com/rinx/setup-tree-sitter-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997038,"owners_count":20380980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T10:40:15.481Z","updated_at":"2026-01-02T23:55:30.757Z","avatar_url":"https://github.com/rinx.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action: Setup tree-sitter parser\n\nThis is an action to install tree-sitter cli and build tree-sitter parser.\n\n## Inputs\n\n### `parser_dir`\n\nDirectory to store built parser shared library.\nThe default is `./parser`.\n\n### `parser_repository`\n\n**Required**\n\nParser repository name to build.\n\n### `parser_repository_ref`\n\nThe branch, tag or SHA to checkout parser repository.\n\n## Usage\n\nWhen using [reviewdog/action-ast-grep][reviewdog/action-ast-grep] for custom language, it is useful to build parser by using this action.\n\n```yaml\nname: reviewdog\non: [pull_request]\njobs:\n  ast-grep:\n    name: runner / ast-grep / fennel\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build tree-sitter grammar for fennel\n        uses: rinx/setup-tree-sitter-parser@v1\n        with:\n          # this action will place the build artifact here.\n          parser_dir: ./\n          parser_repository: alexmozaidze/tree-sitter-fennel\n      - name: Run ast-grep with reviewdog\n        uses: reviewdog/action-ast-grep@v1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          level: info\n          reporter: github-pr-review\n```\n\n[reviewdog/action-ast-grep]: https://github.com/reviewdog/action-ast-grep\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinx%2Fsetup-tree-sitter-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinx%2Fsetup-tree-sitter-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinx%2Fsetup-tree-sitter-parser/lists"}