Skip to content

Commit

Permalink
Merge pull request #77 from buildkite/go-1.19
Browse files Browse the repository at this point in the history
Update go 1.15 -> 1.19
  • Loading branch information
moskyb authored Jan 4, 2023
2 parents 73110c5 + 57df333 commit 763e409
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline-sar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ steps:
command: ".buildkite/steps/tests.sh"
plugins:
- docker#v3.1.0:
image: "golang:1.15"
image: "golang:1.19"
workdir: /go/src/github.com/buildkite/buildkite-agent-scaler

- name: ":hammer: :lambda:"
Expand Down
4 changes: 1 addition & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
command: ".buildkite/steps/tests.sh"
plugins:
- docker#v3.1.0:
image: "golang:1.15"
image: "golang:1.19"
workdir: /go/src/github.com/buildkite/buildkite-agent-scaler

- wait
Expand All @@ -22,5 +22,3 @@ steps:
- name: ":pipeline:"
command: .buildkite/steps/upload-release-steps.sh
branches: master


2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lambda/handler: lambda/main.go
--volume go-module-cache:/go/pkg/mod \
--volume $(PWD):/go/src/github.com/buildkite/buildkite-agent-scaler \
--workdir /go/src/github.com/buildkite/buildkite-agent-scaler \
--rm golang:1.15 \
--rm golang:1.19 \
go build -ldflags="$(LD_FLAGS)" -o ./lambda/handler ./lambda
chmod +x lambda/handler

Expand Down
6 changes: 5 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
module github.com/buildkite/buildkite-agent-scaler

go 1.15
go 1.19

require (
github.com/aws/aws-lambda-go v1.7.0
github.com/aws/aws-sdk-go v1.19.24
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2 // indirect
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a // indirect
Expand Down

0 comments on commit 763e409

Please sign in to comment.