perf(cache): Add a sharded map for global cache #1709
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: ci-dgraph-fuzz | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
branches: | |
- main | |
- 'release/**' | |
jobs: | |
fuzz-test: | |
if: github.event.pull_request.draft == false | |
runs-on: warp-ubuntu-latest-x64-4x | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get Go Version | |
run: | | |
#!/bin/bash | |
GOVERSION=$({ [ -f .go-version ] && cat .go-version; }) | |
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GOVERSION }} | |
- name: Run fuzz tests | |
run: | | |
#!/bin/bash | |
# go env settings | |
export GOPATH=~/go | |
go test ./dql -fuzz="Fuzz" -fuzztime="300s" -fuzzminimizetime="120s" |