fix: wrap JsonParseException into JsonSyntaxException (issue #2816) #1352
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CIFuzz | |
on: [pull_request] | |
permissions: {} | |
jobs: | |
Fuzzing: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Build Fuzzers | |
id: build | |
# Cannot be pinned to commit because there are no releases, see https://github.com/google/oss-fuzz/issues/6836 | |
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master | |
with: | |
oss-fuzz-project-name: 'gson' | |
dry-run: false | |
language: jvm | |
- name: Run Fuzzers | |
# Cannot be pinned to commit because there are no releases, see https://github.com/google/oss-fuzz/issues/6836 | |
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master | |
with: | |
oss-fuzz-project-name: 'gson' | |
fuzz-seconds: 600 | |
dry-run: false | |
output-sarif: true | |
- name: Upload Crash | |
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
if: failure() && steps.build.outcome == 'success' | |
with: | |
name: artifacts | |
path: ./out/artifacts | |
- name: Upload Sarif | |
if: always() && steps.build.outcome == 'success' | |
uses: github/codeql-action/upload-sarif@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.5 | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: cifuzz-sarif/results.sarif | |
checkout_path: cifuzz-sarif |