File tree Expand file tree Collapse file tree 6 files changed +14
-13
lines changed
Expand file tree Collapse file tree 6 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1313 - name : Set up Go
1414 uses : actions/setup-go@v2
1515 with :
16- go-version : ' 1.23.12 '
16+ go-version : ' 1.25.3 '
1717 - name : Check out code
1818 uses : actions/checkout@v2
1919 with :
Original file line number Diff line number Diff line change 66 - GO111MODULE=on
77
88go :
9- - " 1.23.12 "
9+ - " 1.25.3 "
1010
1111before_install :
1212 - go install github.com/mattn/goveralls@latest
Original file line number Diff line number Diff line change 1- FROM golang :1.23 . 12
1+ FROM golang :1.25 . 3
22
33WORKDIR /go /src /github . com /kubernetes -sigs /ibm -vpc -block -csi -driver
44ADD . /go /src /github . com /kubernetes -sigs /ibm -vpc -block -csi -driver
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ GIT_COMMIT_SHA="$(shell git rev-parse HEAD 2>/dev/null)"
2020GIT_REMOTE_URL ="$(shell git config --get remote.origin.url 2>/dev/null) "
2121BUILD_DATE ="$(shell date -u +"% Y-% m-% dT% H:% M:% SZ") "
2222OSS_FILES := go.mod Dockerfile
23- GOLANG_VERSION ="1.23.12 "
23+ GOLANG_VERSION ="1.25.3 "
2424
2525
2626STAGING_REGISTRY ?= gcr.io/k8s-staging-cloud-provider-ibm
@@ -44,7 +44,7 @@ BUILD_NUMBER?=unknown
4444GO111MODULE_FLAG? =on
4545export GO111MODULE =$(GO111MODULE_FLAG )
4646
47- LINT_VERSION =v2.0.2
47+ LINT_VERSION =v2.4.0
4848
4949GOFILES =$(shell find . -type f -name '* .go' -not -path "./vendor/* ")
5050
Original file line number Diff line number Diff line change 11module github.com/kubernetes-sigs/ibm-vpc-block-csi-driver
22
3- go 1.23.12
3+ go 1.25.3
44
55require (
66 github.com/IBM/ibm-csi-common v1.1.23
Original file line number Diff line number Diff line change 1515# limitations under the License.
1616
1717set -euo pipefail
18- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $( go env GOPATH ) /bin latest
19- if [[ -z " $( command -v golangci-lint) " ]] ; then
20- echo " Cannot find golangci-lint. Installing golangci-lint... "
21- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $( go env GOPATH ) /bin v1.60.1
22- export PATH= $PATH : $( go env GOPATH ) /bin
18+
19+ LINT_CMD= $( go env GOPATH ) /bin/ golangci-lint
20+ if [[ -z " $( command -v ${LINT_CMD} ) " ]] ; then
21+ echo " Cannot find ${LINT_CMD} "
22+ exit 1
2323fi
2424
2525echo " Verifying golint"
2626readonly PKG_ROOT=" $( git rev-parse --show-toplevel) "
2727
28- golangci-lint run --timeout=10m
28+ ${LINT_CMD} version
29+ ${LINT_CMD} run --timeout=10m
2930
30- echo " Congratulations! Lint check completed for all Go source files."
31+ echo " Congratulations! Lint check completed for all Go source files."
You can’t perform that action at this time.
0 commit comments