github.com/expr-lang/expr@v1.16.9/.github/workflows/fuzz.yml (about) 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 output-sarif: true 23 - name: Upload Crash 24 uses: actions/upload-artifact@v3 25 if: failure() && steps.build.outcome == 'success' 26 with: 27 name: artifacts 28 path: ./out/artifacts 29 - name: Upload Sarif 30 if: always() && steps.build.outcome == 'success' 31 uses: github/codeql-action/upload-sarif@v2 32 with: 33 # Path to SARIF file relative to the root of the repository 34 sarif_file: cifuzz-sarif/results.sarif 35 checkout_path: cifuzz-sarif