ci: update workflows

- Replace build workflow with CI & fuzz
- Add GitHub & NPM release workflow
This commit is contained in:
ObserverOfTime
2025-05-09 10:18:25 +03:00
committed by Michael Hoffmann
parent c3172d7873
commit 009def4ae3
4 changed files with 121 additions and 33 deletions

28
.github/workflows/fuzz.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: fuzz
on:
push:
branches: [main]
paths:
- src/scanner.c
- dialects/*/src/scanner.c
pull_request:
paths:
- src/scanner.c
- dialects/*/src/scanner.c
jobs:
fuzz:
name: Parser fuzzing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
directory: [".", "dialects/terraform"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run fuzzer
uses: tree-sitter/fuzz-action@v4
with:
directory: ${{matrix.directory}}