diff --git a/.github/workflows/gofixpath.yml b/.github/workflows/gofixpath.yml index ddf093acd..d93d2312f 100644 --- a/.github/workflows/gofixpath.yml +++ b/.github/workflows/gofixpath.yml @@ -29,4 +29,4 @@ jobs: with: go-version: "${{ matrix.goversion }}" - - run: go run ./internal/cmd/buildtool gofixpath -- go run ./internal/cmd/buildtool generic miniooni + - run: ./script/go.bash run ./internal/cmd/buildtool generic miniooni diff --git a/script/go.bash b/script/go.bash new file mode 100755 index 000000000..60f0a9fd5 --- /dev/null +++ b/script/go.bash @@ -0,0 +1,3 @@ +#!/bin/bash +set -euxo pipefail +go run ./internal/cmd/buildtool gofixpath -- ./script/internal/go.bash "$@" diff --git a/script/internal/go.bash b/script/internal/go.bash new file mode 100755 index 000000000..06a89b7e7 --- /dev/null +++ b/script/internal/go.bash @@ -0,0 +1,3 @@ +#!/bin/bash +set -euxo pipefail +go "$@"