From 25893ed99b527475c89690793843f9fcd4ce8bd1 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Fri, 23 Aug 2024 19:24:00 -0400 Subject: [PATCH] Revert "Looks like fuzzing is failing permanently again" This reverts commit 3d90ab05959f34803e26cffda6ac33993fb183fe. --- .github/workflows/cifuzz.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/cifuzz.yml diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 00000000000..8d47de8f003 --- /dev/null +++ b/.github/workflows/cifuzz.yml @@ -0,0 +1,27 @@ +name: CIFuzz +on: + pull_request: + branches: [ main ] + workflow_dispatch: +jobs: + Fuzzing: + runs-on: ubuntu-latest + steps: + - name: Build Fuzzers + id: build + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master + with: + oss-fuzz-project-name: 'gitoxide' + language: rust + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'gitoxide' + language: rust + fuzz-seconds: 600 + - name: Upload Crash + uses: actions/upload-artifact@v4 + if: failure() && steps.build.outcome == 'success' + with: + name: artifacts + path: ./out/artifacts