Add verification to verify there is no duplicated keys in the bucket … #1020
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Fuzzing v3rpc | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
fuzzing: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
env: | |
TARGET_PATH: ./server/etcdserver/api/v3rpc | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- id: goversion | |
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT" | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: ${{ steps.goversion.outputs.goversion }} | |
- run: | | |
set -euo pipefail | |
GOARCH=amd64 CPU=4 make fuzz | |
- uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4.1.0 | |
if: failure() | |
with: | |
path: "${{env.TARGET_PATH}}/testdata/fuzz/**/*" |