Commit 96874e9 1 parent 0b946c4 commit 96874e9 Copy full SHA for 96874e9
File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin && chmod -R 777 $GOPATH
26
26
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
27
27
28
28
# Download Go.
29
- ARG GO_VERSION=1.17
29
+ ARG GO_VERSION=1.18
30
30
RUN curl -o go.tgz "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" \
31
31
&& tar -xzf go.tgz \
32
32
&& mv go /usr/local/ \
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ TARGETS := darwin/amd64 linux/amd64
19
19
REGISTRYNS := quay.io/konveyor
20
20
SWAGGER_UI_VERSION := 3.52.3
21
21
22
- GO_VERSION ?= $(shell go run ./scripts/detectgoversion/detect.go 2>/dev/null || printf '1.17 ')
22
+ GO_VERSION ?= $(shell go run ./scripts/detectgoversion/detect.go 2>/dev/null || printf '1.18 ')
23
23
GOPATH = $(shell go env GOPATH)
24
24
GOX = $(GOPATH ) /bin/gox
25
25
GOTEST = ${GOPATH}/bin/gotest
@@ -142,7 +142,7 @@ test-coverage: ${GOLANGCOVER} ## Run tests with coverage
142
142
go test -run . $(PKG ) -coverprofile=coverage.txt -covermode=atomic
143
143
144
144
${GOLANGCILINT} :
145
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH ) /bin v1.31.0
145
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH ) /bin v1.45.2
146
146
147
147
.PHONY : test-style
148
148
test-style : ${GOLANGCILINT}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Run using container from registry using `make crun`
15
15
16
16
## Setup
17
17
18
- 1 . Obtain a recent version of ` golang ` . Known to work with ` 1.17 ` .
18
+ 1 . Obtain a recent version of ` golang ` . Known to work with ` 1.18 ` .
19
19
1 . Ensure ` $GOPATH ` is set. If it's not set:
20
20
1 . ` mkdir ~/go `
21
21
1 . ` export GOPATH=~/go `
Original file line number Diff line number Diff line change 1
1
module github.com/konveyor/move2kube-api
2
2
3
- go 1.17
3
+ go 1.18
4
4
5
5
require (
6
6
github.com/Nerzal/gocloak/v10 v10.0.1
You can’t perform that action at this time.
0 commit comments