Skip to content

Commit 5ef4d5d

Browse files
authored
Merge pull request #1596 from EliahKagan/fuzz
Reenable CI fuzzing of pull requests
2 parents 03b68c8 + 39cab61 commit 5ef4d5d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/cifuzz.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CIFuzz
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
workflow_dispatch:
6+
jobs:
7+
Fuzzing:
8+
runs-on: ubuntu-latest
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: 'gitoxide'
15+
language: rust
16+
- name: Run Fuzzers
17+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
18+
with:
19+
oss-fuzz-project-name: 'gitoxide'
20+
language: rust
21+
fuzz-seconds: 600
22+
- name: Upload Crash
23+
uses: actions/upload-artifact@v4
24+
if: failure() && steps.build.outcome == 'success'
25+
with:
26+
name: artifacts
27+
path: ./out/artifacts

0 commit comments

Comments
 (0)