Skip to content

Commit

Permalink
ci-fuzz.yml: Reenable "Upload Sarif" step.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Jan 11, 2024
1 parent 3e576b4 commit af96a3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci-fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Fuzz Test
on: [pull_request]
on:
pull_request:
paths:
- '**.c'
- '**.h'
jobs:
Fuzzing:
runs-on: ubuntu-latest
Expand All @@ -11,20 +15,21 @@ jobs:
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'md4c'
language: c
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'md4c'
fuzz-seconds: 600
output-sarif: true
- name: Upload Crash
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
- name: Upload Sarif
if: false # Disable: This step seems not to work.
#if: always() && steps.build.outcome == 'success'
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
Expand Down

0 comments on commit af96a3f

Please sign in to comment.