File tree 1 file changed +46
-0
lines changed
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CIFuzz
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - ' .github/**'
9
+ - ' ci/**'
10
+ - ' etc/**'
11
+ - ' src/**'
12
+ - ' tests/**'
13
+ - ' cargo-*/**'
14
+ - ' gix*/**'
15
+ - ' *.toml'
16
+ - Makefile
17
+ workflow_dispatch :
18
+
19
+ jobs :
20
+ Fuzzing :
21
+ runs-on : ubuntu-latest
22
+
23
+ permissions :
24
+ contents : none # The fuzzing actions don't use our github.token at all.
25
+
26
+ steps :
27
+ - name : Build Fuzzers
28
+ id : build
29
+ uses : google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
30
+ with :
31
+ oss-fuzz-project-name : gitoxide
32
+ language : rust
33
+
34
+ - name : Run Fuzzers
35
+ uses : google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
36
+ with :
37
+ oss-fuzz-project-name : gitoxide
38
+ language : rust
39
+ fuzz-seconds : 600
40
+
41
+ - name : Upload Crash
42
+ uses : actions/upload-artifact@v4
43
+ if : failure() && steps.build.outcome == 'success'
44
+ with :
45
+ name : artifacts
46
+ path : ./out/artifacts
You can’t perform that action at this time.
0 commit comments