Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26.1'
go-version-file: go.mod
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's awesome 💯 Thanks for adopting a reference over hard-coding 👍


- name: Run tests
run: make tests-with-docker
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26.1'
go-version-file: go.mod

- name: Build
env:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion debugging/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"rangeStrategy": "bump",
"groupName": "Go toolchain"
},
{
"matchManagers": ["github-actions"],
"matchDepNames": ["go"],
"groupName": "Go toolchain"
},
{
"matchManagers": ["gomod"],
"excludePackageNames": ["go"],
Expand Down