-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update GO_VERSION to 1.18.3 #3301
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4bc8ec7
Update Go version in GO_VERSION file to 1.18.3
amogh09 63d188f
Use go install for GO111MODULE=on deps
amogh09 ee671ba
Use pointer
amogh09 a5471e9
More go installs
amogh09 cc15636
Upgrade statickcheck to v0.3.2
amogh09 096ad2d
Upgrade statickcheck to v0.3.2
amogh09 591d594
Delete redundant mutex
amogh09 0f4d5b3
Use Go 1.18.4
amogh09 f987918
Revert back to Go 1.18.3
amogh09 4c3f629
Stop cross-platform builds for Darwin
amogh09 5deedc3
Upgrade GO_VERSION_WINDOWS to 1.18.3
amogh09 d4ad827
Revert GO_VERSION_WINDOWS update since there is another PR for it
amogh09 9378455
Fix typo
amogh09 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.17.5 | ||
1.18.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,10 @@ static-with-pause: | |
xplatform-build: | ||
GOOS=linux GOARCH=arm64 ./scripts/build true "" false | ||
GOOS=windows GOARCH=amd64 ./scripts/build true "" false | ||
GOOS=darwin GOARCH=amd64 ./scripts/build true "" false | ||
# Agent and its dependencies on Go 1.18.x are not compatible with Mac (Darwin). | ||
# Mac is not a supported target platform for Agent, so commenting out | ||
# cross-platform build step for Mac temporarily. | ||
# GOOS=darwin GOARCH=amd64 ./scripts/build true "" false | ||
|
||
BUILDER_IMAGE="amazon/amazon-ecs-agent-build:make" | ||
.builder-image-stamp: scripts/dockerfiles/Dockerfile.build | ||
|
@@ -340,8 +343,8 @@ GOPATH=$(shell go env GOPATH) | |
go get github.com/golang/mock/mockgen | ||
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go get ./... && go install ./... && cd - | ||
go get golang.org/x/tools/cmd/goimports | ||
GO111MODULE=on go get github.com/fzipp/gocyclo/cmd/[email protected] | ||
GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@v0.2.1 | ||
GO111MODULE=on go install github.com/fzipp/gocyclo/cmd/[email protected] | ||
GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@v0.3.2 | ||
touch .get-deps-stamp | ||
|
||
get-deps: .get-deps-stamp | ||
|
@@ -351,9 +354,9 @@ get-deps-init: | |
go get golang.org/x/tools/cmd/cover | ||
go get github.com/golang/mock/mockgen | ||
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go get ./... && go install ./... && cd - | ||
GO111MODULE=on go get github.com/fzipp/gocyclo/cmd/[email protected] | ||
GO111MODULE=on go install github.com/fzipp/gocyclo/cmd/[email protected] | ||
go get golang.org/x/tools/cmd/goimports | ||
GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@v0.2.1 | ||
GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@v0.3.2 | ||
|
||
amazon-linux-sources.tgz: | ||
./scripts/update-version.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: This lock is likely redundant. There's a taskCredentialsLock which is managing the writes and reads and the usage for this lock is only on reads but is covered by the other outer lock. Approving