niyumard a346eea373 /bin/bash -> /usr/bin/env bash
Using env offers better portability
2023-04-19 19:17:42 +03:30

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/...