Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/tile_server/gridserver…
Browse files Browse the repository at this point in the history
…/go_modules-8d4d0c168c
  • Loading branch information
drinckes authored Jan 31, 2025
2 parents d1f08de + 8c74991 commit a412b6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: '1.23'
- name: test
run: |
cd ${OLC_PATH}
Expand Down
5 changes: 3 additions & 2 deletions go/olc_gofuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ package olc
//go:generate go run corpus/gen.go -test-data=../test_data -dest=corpus

// Fuzz usage:
// go get github.com/dvyukov/go-fuzz/...
//
// go-fuzz-build github.com/google/open-location-code/go && go-fuzz -bin=./olc-fuzz.zip -workdir=/tmp/olc-fuzz
// go get github.com/dvyukov/go-fuzz/...
//
// go-fuzz-build github.com/google/open-location-code/go && go-fuzz -bin=./olc-fuzz.zip -workdir=/tmp/olc-fuzz
func Fuzz(data []byte) int {
code := string(data)
if err := Check(code); err != nil {
Expand Down

0 comments on commit a412b6d

Please sign in to comment.