diff --git a/.github/workflows/collector-tests.yml b/.github/workflows/collector-tests.yml index 326d575ed..9b2e8b0fb 100644 --- a/.github/workflows/collector-tests.yml +++ b/.github/workflows/collector-tests.yml @@ -37,7 +37,7 @@ jobs: git clone --depth=1 https://github.com/open-telemetry/opentelemetry-collector.git $collector_path - name: Setup replace statement run: | - COLLECTOR_PATH=/tmp/opentelemetry-collector ./scripts/local-collector.sh + COLLECTOR_PATH=/tmp/opentelemetry-collector ./support/local-collector.sh go mod tidy - name: Tests run: make test-junit diff --git a/scripts/local-collector.sh b/support/local-collector.sh similarity index 96% rename from scripts/local-collector.sh rename to support/local-collector.sh index 07b107e59..2e5bf3602 100755 --- a/scripts/local-collector.sh +++ b/support/local-collector.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -euo pipefail # Check if COLLECTOR_PATH is set