From 96b1898736aaa6103ad8469790286d582f25243e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 12:33:51 +0000 Subject: [PATCH 1/3] chore(deps): update dependency go to v1.26.2 --- .github/workflows/build.yml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68551b3b..cbdd68c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.26.1' + go-version: '1.26.2' - name: Run tests run: make tests-with-docker @@ -31,7 +31,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.26.1' + go-version: '1.26.2' - name: Build env: diff --git a/go.mod b/go.mod index 167ed10b..5a0eecfd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aws/aws-lambda-runtime-interface-emulator -go 1.26.1 +go 1.26.2 require ( github.com/aws/aws-lambda-go v1.52.0 From 99e16cfcaafbe45114ba6e7afd69d262c68f5531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Mon, 20 Apr 2026 11:32:04 +0200 Subject: [PATCH 2/3] read go version from file --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbdd68c6..0d10ef3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version-file: go.mod - name: Run tests run: make tests-with-docker @@ -31,7 +31,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.26.2' + go-version-file: go.mod - name: Build env: From bf0e5b4b17ccae57e2265debdaa56db91ddcc78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Mon, 20 Apr 2026 11:36:13 +0200 Subject: [PATCH 3/3] read go version from `go.mod` --- Makefile | 3 ++- debugging/Makefile | 3 ++- renovate.json | 5 ----- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 87759946..a596dc1f 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,8 @@ GO_ARCH_arm64 := arm64 DESTINATION_x86_64 := bin/${BINARY_NAME}-x86_64 DESTINATION_arm64 := bin/${BINARY_NAME}-arm64 -run_in_docker = docker run --env GOPROXY=direct -v $(shell pwd):/LambdaRuntimeLocal -w /LambdaRuntimeLocal golang:1.26.1 $(1) +GO_VERSION := $(shell grep '^go ' go.mod | awk '{print $$2}') +run_in_docker = docker run --env GOPROXY=direct -v $(shell pwd):/LambdaRuntimeLocal -w /LambdaRuntimeLocal golang:$(GO_VERSION) $(1) compile-with-docker-all: $(call run_in_docker, make compile-lambda-linux-all) diff --git a/debugging/Makefile b/debugging/Makefile index 10eb5c82..df615f6a 100644 --- a/debugging/Makefile +++ b/debugging/Makefile @@ -1,5 +1,6 @@ # Golang EOL overview: https://endoflife.date/go -DOCKER_GOLANG_IMAGE ?= golang:1.26.1-bookworm +GO_VERSION := $(shell grep '^go ' ../go.mod | awk '{print $$2}') +DOCKER_GOLANG_IMAGE ?= golang:$(GO_VERSION)-bookworm # On ARM hosts, use: make ARCH=arm64 build-init # Check host architecture: uname -m diff --git a/renovate.json b/renovate.json index adb75dad..4fef864f 100644 --- a/renovate.json +++ b/renovate.json @@ -11,11 +11,6 @@ "rangeStrategy": "bump", "groupName": "Go toolchain" }, - { - "matchManagers": ["github-actions"], - "matchDepNames": ["go"], - "groupName": "Go toolchain" - }, { "matchManagers": ["gomod"], "excludePackageNames": ["go"],