1name: Run CIFuzz fuzz test for 10 minutes 2on: 3 workflow_dispatch: 4 workflow_call: 5 6jobs: 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: 'nanopb' 15 dry-run: false 16 sanitizer: undefined 17 - name: Run Fuzzers 18 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 19 with: 20 oss-fuzz-project-name: 'nanopb' 21 fuzz-seconds: 600 22 dry-run: false 23 sanitizer: undefined 24 - name: Upload Crash 25 uses: actions/upload-artifact@v1 26 if: failure() && steps.build.outcome == 'success' 27 with: 28 name: artifacts 29 path: ./out/artifacts 30