Skip to content

Fuzz Scheduled Tasks #919

Fuzz Scheduled Tasks

Fuzz Scheduled Tasks #919

Workflow file for this run

# Copyright 2022 Carlos Macasaet
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Fuzz Scheduled Tasks
on:
schedule:
- cron: '0 8 * * *'
permissions: read-all
jobs:
Prune:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
with:
language: jvm
github-token: ${{ secrets.GITHUB_TOKEN }}
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/l0s/fernet-fuzz-java.git
storage-repo-branch: main
storage-repo-branch-coverage: gh-pages
- name: Run Fuzzers
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
mode: 'prune'
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/l0s/fernet-fuzz-java.git
storage-repo-branch: main
storage-repo-branch-coverage: gh-pages
Coverage:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
with:
language: jvm
sanitizer: coverage
- name: Run Fuzzers
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
mode: 'coverage'
sanitizer: 'coverage'
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/l0s/fernet-fuzz-java.git
storage-repo-branch: main
storage-repo-branch-coverage: gh-pages