The checks no longer run on pushes, pull requests or a schedule, on GitHub or Gitea: ci.yml, audit.yml, fuzz.yml and Gitea's ci.yml run by hand only (Run workflow). Only the package builds still run by themselves, on v* tags (release.yml, docker.yml, Gitea's release.yml), and the release workflows no longer run the checks first: GitHub's drops its checks and Windows test jobs, Gitea's the shared checks step. The docs say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
33 lines
876 B
YAML
33 lines
876 B
YAML
name: Fuzz
|
|
|
|
# Not scheduled: run by hand only.
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
fuzz:
|
|
name: fuzz ${{ matrix.target }}
|
|
runs-on: ubuntu-24.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
target: [packet, command, license]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install nightly and cargo-fuzz
|
|
run: |
|
|
rustup toolchain install nightly --profile minimal
|
|
cargo install cargo-fuzz --locked
|
|
- uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: fuzz
|
|
- name: Fuzz for 10 minutes
|
|
working-directory: fuzz
|
|
run: cargo +nightly fuzz run ${{ matrix.target }} -- -max_total_time=600
|
|
- name: Upload crash artifacts
|
|
if: failure()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: fuzz-${{ matrix.target }}-artifacts
|
|
path: fuzz/artifacts/
|