[DEPRECATED] Setup action for tree-sitter parsers
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-03-19 15:54:56 +02:00
.editorconfig feat: initial commit 2024-02-24 23:23:20 +02:00
action.yml chore!: deprecate action 2024-03-19 15:54:56 +02:00
LICENSE feat: initial commit 2024-02-24 23:23:20 +02:00
README.md feat: set up the CLI without Node 2024-03-18 13:13:51 +02:00

Tree-sitter parser setup

Options

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

name: CI

on:
  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