Skip to content

Setup action for the tree-sitter library & CLI

License

Notifications You must be signed in to change notification settings

Cater36039/setup-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tree-sitter library & CLI setup

Options

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

name: Generate

on:
  pull_request:

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

About

Setup action for the tree-sitter library & CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published