Skip to content

Merge pull request #383 from SiaFoundation/release #87

Merge pull request #383 from SiaFoundation/release

Merge pull request #383 from SiaFoundation/release #87

Workflow file for this run

name: Fuzzer
on:
workflow_dispatch:
push:
branches:
- master
jobs:
fuzzer:
name: Fuzzer
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
repository: SiaFoundation/fuzz
token: ${{ secrets.FOUNDATION_READ_TOKEN }}
- uses: actions/setup-go@v5
- name: Build
run: go get go.sia.tech/core@none && go get go.sia.tech/coreutils@$GITHUB_SHA && go mod tidy && go build -buildvcs=false .
- name: Run
run: ./fuzzer fuzz
- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: repro.json
# A file, directory or wildcard pattern that describes what to upload
# Required.
path: repro.json
# The desired behavior if no files are found using the provided path.
# Available Options:
# warn: Output a warning but do not fail the action
# error: Fail the action with an error message
# ignore: Do not output any warnings or errors, the action does not fail
# Optional. Default is 'warn'
if-no-files-found: error