diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 86d27c2b693b..9ff61f83f04b 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -126,7 +126,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - - run: go install github.com/reillywatson/enumcover/cmd/enumcover@master && enumcover -tags="$GOTAGS" ./... + - run: go install github.com/reillywatson/enumcover/cmd/enumcover@master && GOFLAGS="-tags='$GOTAGS'" enumcover ./... lint-container-test-deps: needs: