diff --git a/.ci.gofmt.sh b/.ci.gofmt.sh index 3f2e5d329..1ac21ef10 100755 --- a/.ci.gofmt.sh +++ b/.ci.gofmt.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -n "$(gofmt -l .)" ]; then echo "Go code is not formatted:" diff --git a/.ci.gogenerate.sh b/.ci.gogenerate.sh index 3fc73fea7..5b5642094 100755 --- a/.ci.gogenerate.sh +++ b/.ci.gogenerate.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # If GOMOD is defined we are running with Go Modules enabled, either # automatically or via the GO111MODULE=on environment variable. Codegen only diff --git a/.ci.govet.sh b/.ci.govet.sh index 77aeb5c47..9bdf4519b 100755 --- a/.ci.govet.sh +++ b/.ci.govet.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/.ci.readme.fmt.sh b/.ci.readme.fmt.sh index 045cb5fb0..b3d6a1d06 100755 --- a/.ci.readme.fmt.sh +++ b/.ci.readme.fmt.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify that the code snippets in README.md are formatted. # The tool https://github.com/hougesen/mdsf is used.