Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tree-sitter/setup-action

Setup action for the tree-sitter library & CLI
https://github.com/tree-sitter/setup-action

actions tree-sitter

Last synced: 16 days ago
JSON representation

Setup action for the tree-sitter library & CLI

Awesome Lists containing this project

README

        

# Tree-sitter library & CLI setup

## Options

```yaml
install-cli:
description: Install the CLI
default: true
install-lib:
description: Install the library
default: true
tree-sitter-ref:
description: A tree-sitter commit, tag, or branch
default: latest
rust-toolchain:
description: Rust toolchain
default: stable
```

## Example configuration

```yaml
name: Generate

on:
pull_request:

jobs:
generate:
name: Generate parser
runs-on: ubuntu-latest
steps:
- uses: tree-sitter/setup-action@v1
with:
install-lib: false
- run: tree-sitter generate
```