From 24756903b9ac8f13128ccf8040d2db675f84896c Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Thu, 14 Mar 2024 09:10:18 -0400 Subject: [PATCH] use sh instead of bash --- .ci/scripts/test.sh | 2 +- .github/workflows/go.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.ci/scripts/test.sh b/.ci/scripts/test.sh index a4e048a6..eeaeb030 100755 --- a/.ci/scripts/test.sh +++ b/.ci/scripts/test.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh set -euxo pipefail go install gotest.tools/gotestsum@latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 42a1a9c3..c6042454 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -97,6 +97,9 @@ jobs: test-freebsd: runs-on: ubuntu-latest + env: + GO_VERSION: 1.22.1 + name: test (1.22.1, freebsd-14.0, cgo) steps: - uses: actions/checkout@v4 @@ -109,7 +112,7 @@ jobs: pkg install -y curl curl -sL -o /usr/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-freebsd-amd64 chmod +x /usr/bin/gvm - eval "$(gvm 1.22.1)" + eval "$(gvm ${GO_VERSION})" go version run: |