Skip to content

Commit

Permalink
ci(tree-sitter): parse examples and run on workflows update (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinbraerts authored Dec 15, 2024
1 parent 72af0c7 commit d96b1a6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/tree-sitter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
push:
branches: [master]
paths:
- .github/workflows/**
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
pull_request:
paths:
- .github/workflows/**
- grammar.js
- src/**
- test/**
Expand Down Expand Up @@ -41,4 +43,9 @@ jobs:
test-node: true
test-python: true
test-go: true
test-swift: true
test-swift: false
- name: Parse examples
uses: tree-sitter/parse-action@v4
with:
files: |
examples/**/*.bff
2 changes: 1 addition & 1 deletion Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/go/binding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion setup.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <tree_sitter/parser.h>
#include "tree_sitter/parser.h"
#include <wctype.h>

enum TokenType {
Expand Down

0 comments on commit d96b1a6

Please sign in to comment.