Skip to content

Fuzz

Fuzz #6

Workflow file for this run

# Copyright 2026 The ARCORIS Authors
#
# 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
#
# http://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"
"on":
pull_request:
branches:
- "main"
merge_group:
workflow_dispatch:
schedule:
- cron: "0 2 * * 1"
permissions:
contents: "read"
jobs:
fuzz:
name: "fuzz"
runs-on: "ubuntu-latest"
timeout-minutes: 15
steps:
- name: "Checkout repository"
# actions/checkout v6
uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd"
with:
fetch-depth: 1
persist-credentials: false
- name: "Setup Go"
# actions/setup-go v6
uses: "actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c"
with:
go-version-file: "go.mod"
cache: true
- name: "Run fuzz targets"
shell: "bash"
run: |
set -euo pipefail
go test . -run '^$' -fuzz=FuzzPoolLifecycleOrder -fuzztime=10s
go test . -run '^$' -fuzz=FuzzPoolAcceptedValueIsResetBeforeReuse -fuzztime=10s
go test . -run '^$' -fuzz=FuzzPoolRejectedValueIsNotStored -fuzztime=10s