cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.18.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/fuzz.yml

38lines · modecode

1name: Fuzz Go code
2
3on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11jobs:
12 fuzz:
13 runs-on: ubuntu-latest
14 steps:
15 - name: Check out code
16 uses: actions/checkout@v3
17
18 - name: Set up Go
19 uses: actions/setup-go@v3
20 with:
21 go-version: 1.18.2
22
23 - name: Get Date
24 id: get-date
25 run: |
26 echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
27 shell: bash
28
29 - uses: actions/cache@v3
30 with:
31 path: |
32 ~/.cache/go-build/fuzz
33 key: ${{ runner.os }}-fuzz-${{ steps.get-date.outputs.date }}
34 restore-keys: |
35 ${{ runner.os }}-fuzz-
36
37 - name: Fuzz
38 run: go test -fuzz=Fuzz -fuzztime 3m ./internal/parser
39