Hossein Naghdbishi cb2d0d9555
/bin/bash -> /usr/bin/env bash (#471)
Using env offers better portability
2023-04-19 16:25:41 -07:00

11 lines
347 B
Bash
Executable File

#!/usr/bin/env bash
# Sanity testing of the examples.
set -eo pipefail
# go vet will attempt to build each example, making sure it compiles. It will
# also report known issues with the code. Disabling the -unreachable check
# because it will fire false positives for some examples demonstrating panics.
go vet -unreachable=false ./examples/...