ci: update workflows
- Replace build workflow with CI & fuzz - Add GitHub & NPM release workflow
This commit is contained in:
committed by
Michael Hoffmann
parent
c3172d7873
commit
009def4ae3
28
.github/workflows/fuzz.yaml
vendored
Normal file
28
.github/workflows/fuzz.yaml
vendored
Normal 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}}
|
||||
Reference in New Issue
Block a user