-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade to go 1.22 due to golang/go#68976
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 deletions.
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,4 +1,9 @@ | ||
FROM golang:latest AS go | ||
# locked to golang:1.22.8 for now | ||
# as there's a bug with qemu and go 1.23 | ||
# its meant to be fixed in 1.23.3 | ||
# but I guess we'll wait and see | ||
# https://github.com/golang/go/issues/69259 | ||
FROM golang:1.22.8 AS go | ||
LABEL maintainer="Jamie Curnow <[email protected]>" | ||
|
||
RUN apt-get update \ | ||
|
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 |
---|---|---|
|
@@ -18,25 +18,26 @@ case $TARGETPLATFORM in | |
esac | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing golangci-lint ...${RESET}" | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest || true | ||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing richgo ...${RESET}" | ||
go install github.com/kyoh86/richgo@latest || true | ||
go install github.com/kyoh86/richgo@latest | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing govulncheck ...${RESET}" | ||
go install golang.org/x/vuln/cmd/govulncheck@latest || true | ||
go install golang.org/x/vuln/cmd/govulncheck@latest | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing tparse ...${RESET}" | ||
go install github.com/mfridman/tparse@latest || true | ||
go install github.com/mfridman/tparse@latest | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing go-junit-report ...${RESET}" | ||
go install github.com/jstemmer/go-junit-report@latest || true | ||
go install github.com/jstemmer/go-junit-report@latest | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing go-test-coverage ...${RESET}" | ||
go install github.com/vladopajic/go-test-coverage/v2@latest || true | ||
# use `latest` again when we can use go 1.23 | ||
go install github.com/vladopajic/go-test-coverage/[email protected] | ||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing go-mod-upgrade ...${RESET}" | ||
go install github.com/oligot/go-mod-upgrade@latest || true | ||
go install github.com/oligot/go-mod-upgrade@latest | ||
|
||
rm -rf "$(go env GOPATH)/.cache/go-build" | ||
echo -e "${BLUE}❯ ${GREEN}Tools install completed${RESET}" | ||
|