File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : fuzz
2
+ on : [pull_request]
3
+ permissions : {}
4
+ jobs :
5
+ fuzzing :
6
+ runs-on : ubuntu-latest
7
+ permissions :
8
+ security-events : write
9
+ steps :
10
+ - name : Build Fuzzers
11
+ id : build
12
+ uses : google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
13
+ with :
14
+ oss-fuzz-project-name : ' expr'
15
+ language : ' go'
16
+ - name : Run Fuzzers
17
+ uses : google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
18
+ with :
19
+ oss-fuzz-project-name : ' expr'
20
+ language : ' go'
21
+ fuzz-seconds : 600
22
+ - name : Upload Crash
23
+ uses : actions/upload-artifact@v3
24
+ if : failure() && steps.build.outcome == 'success'
25
+ with :
26
+ name : artifacts
27
+ path : ./out/artifacts
28
+ - name : Upload Sarif
29
+ if : always() && steps.build.outcome == 'success'
30
+ uses : github/codeql-action/upload-sarif@v2
31
+ with :
32
+ # Path to SARIF file relative to the root of the repository
33
+ sarif_file : cifuzz-sarif/results.sarif
34
+ checkout_path : cifuzz-sarif
You can’t perform that action at this time.
0 commit comments