From 2f9889b28a824e42b6182df1448107655405f018 Mon Sep 17 00:00:00 2001 From: Daniel Mohedano Date: Mon, 6 Apr 2026 15:43:55 +0200 Subject: [PATCH 1/2] chore: pin GHA to full-length sha and pin coverage version --- .github/workflows/go-test-matrix.yml | 2 +- README.md | 1 + install_test_visibility.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-test-matrix.yml b/.github/workflows/go-test-matrix.yml index 8d0a061..8045298 100644 --- a/.github/workflows/go-test-matrix.yml +++ b/.github/workflows/go-test-matrix.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Verify shell syntax run: | diff --git a/README.md b/README.md index 4722669..7158c9e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ The script parameters are - `DD_SET_TRACER_VERSION_JAVA`: (optional) Version of the Java tracer to install (without the `v` prefix, e.g. `1.37.1`). If not provided, the latest version is installed. - `DD_SET_TRACER_VERSION_JS`: (optional) Version of the JS tracer to install. If not provided, the latest version is installed. - `DD_SET_TRACER_VERSION_PYTHON`: (optional) Version of the Python tracer to install. If not provided, the latest version is installed. +- `DD_SET_COVERAGE_VERSION_PYTHON`: (optional) Version of the Python `coverage` package to install. Defaults to `7.13.5`. - `DD_SET_TRACER_VERSION_RUBY`: (optional) Version of the Ruby datadog-ci gem to install. If not provided, the latest version is installed. - `DD_SET_TRACER_VERSION_GO`: (optional) Version of Orchestrion to install. If not provided, the latest version is installed. - `DD_CIVISIBILITY_GO_MODULE_DIR`: (optional) Directory that contains the Go project's `go.mod` file. Use this when the Go module is not at the repository root or when the repository contains multiple Go modules. diff --git a/install_test_visibility.sh b/install_test_visibility.sh index 6d797b8..2d548ab 100755 --- a/install_test_visibility.sh +++ b/install_test_visibility.sh @@ -197,7 +197,7 @@ install_python_tracer() { source .dd_civis_env/bin/activate >&2 fi - if ! pip install -U ddtrace${DD_SET_TRACER_VERSION_PYTHON:+==$DD_SET_TRACER_VERSION_PYTHON} coverage >&2; then + if ! pip install -U ddtrace${DD_SET_TRACER_VERSION_PYTHON:+==$DD_SET_TRACER_VERSION_PYTHON} coverage==${DD_SET_COVERAGE_VERSION_PYTHON:-7.13.5} >&2; then >&2 echo "Error: Could not install ddtrace for Python" return 1 fi From fde98a85805ed2e98347a38c3544cb3fc29804f2 Mon Sep 17 00:00:00 2001 From: Daniel Mohedano Date: Mon, 6 Apr 2026 16:20:04 +0200 Subject: [PATCH 2/2] fix: bump actions/checkout version --- .github/workflows/go-test-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go-test-matrix.yml b/.github/workflows/go-test-matrix.yml index 8045298..00eb125 100644 --- a/.github/workflows/go-test-matrix.yml +++ b/.github/workflows/go-test-matrix.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Verify shell syntax run: |