Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 3
commit-message:
prefix: "ci"
labels:
- "CI"
groups:
actions:
patterns: ["*"]

27 changes: 11 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
---
name: CI

on:
push:
branches: [master]
paths:
- "scripts.js"
- "common/*"
- "*/grammar.js"
- "*/src/**"
- "bindings/**"
- "binding.gyp"
pull_request:
paths:
- "scripts.js"
- "common/*"
- "*/grammar.js"
- "*/src/**"
- "bindings/**"
- "binding.gyp"
branches: [master]

concurrency:
group: ${{github.workflow}}-${{github.ref}}
Expand All @@ -31,12 +17,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v2

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{vars.NODE_VERSION}}

- name: Set up examples
run: |-
git clone https://github.com/laravel/laravel examples/laravel --single-branch --depth=1 --filter=blob:none
Expand All @@ -45,6 +38,7 @@ jobs:
git clone https://github.com/sebastianbergmann/phpunit examples/phpunit --single-branch --depth=1 --filter=blob:none
git clone https://github.com/WordPress/WordPress examples/WordPress --single-branch --depth=1 --filter=blob:none
git clone https://github.com/wikimedia/mediawiki examples/mediawiki --single-branch --depth=1 --filter=blob:none

- name: Run tests
uses: tree-sitter/parser-test-action@v3
with:
Expand All @@ -54,6 +48,7 @@ jobs:
test-python: false
test-go: true
test-swift: false

- name: Parse examples
id: test
uses: tree-sitter/parse-action@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- php_only/src/scanner.c
- common/scanner.h
pull_request:
branches: [master]
paths:
- php/src/scanner.c
- php_only/src/scanner.c
Expand Down
99 changes: 58 additions & 41 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml

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

Loading
Loading