From c191c2ba5536d049bff864a8f2aa78123359b7fc Mon Sep 17 00:00:00 2001 From: Michael Plump Date: Tue, 26 Nov 2024 10:37:06 -0500 Subject: [PATCH 1/3] chore: use a larger runner for the integration tests They were running out of storage on the default runner. --- .github/workflows/integration-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index af8aae41..36388388 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -16,7 +16,7 @@ concurrency: jobs: test: - runs-on: ubuntu-latest + runs-on: linux-x64-latest-more-storage steps: - uses: actions/setup-go@v2 with: From e20f6b466875cc52720b24ee1475a3a110493721 Mon Sep 17 00:00:00 2001 From: Michael Plump Date: Tue, 26 Nov 2024 10:38:10 -0500 Subject: [PATCH 2/3] chore: use the latest versions of the actions We were getting warnings about unsupported versions. --- .github/workflows/integration-linux.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index 36388388..9d480b56 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -18,15 +18,15 @@ jobs: test: runs-on: linux-x64-latest-more-storage steps: - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ^1.17 - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gopkgmod-${{ hashFiles('**/go.sum') }} From 71db4fb2c3be5e59db48f24322da7879ebcd9a8b Mon Sep 17 00:00:00 2001 From: Michael Plump Date: Tue, 26 Nov 2024 10:40:12 -0500 Subject: [PATCH 3/3] chore: upgrade builds/tests to use Go 1.23 --- .github/workflows/integration-linux.yml | 2 +- nodejs/helper-image/Dockerfile | 2 +- python/helper-image/Dockerfile | 2 +- python/test/pydevconnect/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index 9d480b56..123b7de0 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: ^1.17 + go-version: ^1.23 - uses: actions/checkout@v4 with: diff --git a/nodejs/helper-image/Dockerfile b/nodejs/helper-image/Dockerfile index 63b4508b..dcfbb11b 100644 --- a/nodejs/helper-image/Dockerfile +++ b/nodejs/helper-image/Dockerfile @@ -1,4 +1,4 @@ -ARG GOVERSION=1.17 +ARG GOVERSION=1.23 FROM --platform=$BUILDPLATFORM golang:${GOVERSION} as build ARG BUILDPLATFORM ARG TARGETOS diff --git a/python/helper-image/Dockerfile b/python/helper-image/Dockerfile index 0d9eb8d5..02cdd6b7 100644 --- a/python/helper-image/Dockerfile +++ b/python/helper-image/Dockerfile @@ -83,7 +83,7 @@ COPY pydevd_2_9_5.patch ./pydevd.patch RUN patch --binary -p0 -d /dbgpy/pydevd/python3.11/lib/python3.11/site-packages < pydevd.patch RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.11 pip install --user pydevd-pycharm --no-warn-script-location -FROM --platform=$BUILDPLATFORM golang:1.17 as build +FROM --platform=$BUILDPLATFORM golang:1.23 as build ARG BUILDPLATFORM ARG TARGETOS ARG TARGETARCH diff --git a/python/test/pydevconnect/Dockerfile b/python/test/pydevconnect/Dockerfile index 4a08e07f..c99b775c 100644 --- a/python/test/pydevconnect/Dockerfile +++ b/python/test/pydevconnect/Dockerfile @@ -15,7 +15,7 @@ # This Dockerfile creates a test image for verifying that pydevd is # running somewhere. -FROM golang:1.17 as build +FROM golang:1.23 as build COPY . . RUN CGO_ENABLED=0 go build -o pydevconnect -ldflags '-s -w -extldflags "-static"' pydevconnect.go