...
1name: Fuzz Linux-X64
2
3on: pull_request
4
5jobs:
6 build:
7 runs-on: ubuntu-latest
8 steps:
9 - name: Clear repository
10 run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
11
12 - uses: actions/checkout@v2
13
14 - name: Check Branch
15 run: ./check_branch_name.sh ${{ github.head_ref }}
16
17 - name: Set up Go
18 uses: actions/setup-go@v2
19 with:
20 go-version: 1.18
21
22 - uses: actions/cache@v2
23 with:
24 path: ~/go/pkg/mod
25 key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
26 restore-keys: |
27 ${{ runner.os }}-go-
28
29 - name: Fuzz sonic
30 run: go test -fuzz . -run ^$ -fuzztime 5m
View as plain text