Skip to content

Commit 1b59dc4

Browse files
chore: Run fuzzing every night (open-feature#162)
Run fuzzing every night Signed-off-by: Justin Abrahms <[email protected]> Signed-off-by: Justin Abrahms <[email protected]>
1 parent bf985b9 commit 1b59dc4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/cflite_batch.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: ClusterFuzzLite batch fuzzing
2+
on:
3+
schedule:
4+
# ┌───────────── minute (0 - 59)
5+
# │ ┌───────────── hour (0 - 23)
6+
# │ │ ┌───────────── day of the month (1 - 31)
7+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
8+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
9+
# │ │ │ │ │
10+
# │ │ │ │ │
11+
# │ │ │ │ │
12+
# * * * * *
13+
- cron: '0 0 * * *' # Every 6th hour. Change this to whatever is suitable.
14+
permissions: read-all
15+
jobs:
16+
BatchFuzzing:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
sanitizer:
22+
- address
23+
- undefined
24+
steps:
25+
- name: Build Fuzzers (${{ matrix.sanitizer }})
26+
id: build
27+
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
28+
with:
29+
language: java
30+
sanitizer: ${{ matrix.sanitizer }}
31+
- name: Run Fuzzers (${{ matrix.sanitizer }})
32+
id: run
33+
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
fuzz-seconds: 3600
37+
mode: 'batch'
38+
sanitizer: ${{ matrix.sanitizer }}

0 commit comments

Comments
 (0)