rizin/.github/workflows/rzshell-treesitter-tests.yml
dependabot[bot] c0ee406456
build(deps): bump actions/checkout from 5 to 6 (#5550)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 20:32:57 +08:00

32 lines
823 B
YAML

name: Rizin CI tree-sitter test
on:
pull_request:
paths:
- 'subprojects/tree-sitter.wrap'
- 'subprojects/rizin-shell-parser/*'
- 'subprojects/rizin-shell-parser/**/*'
branches:
- dev
# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build:
name: rizin-shell-parser-tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 18
- run: cd subprojects/rizin-shell-parser/ && npm install
- name: Run tests
run: |
cd subprojects/rizin-shell-parser
export PATH=${PATH}:./node_modules/.bin
tree-sitter generate
tree-sitter test