1
0
mirror of https://github.com/rancher/steve.git synced 2025-05-18 21:00:08 +00:00

[main] Upgrade go version to 1.23 (#446)

* Upgrade go version to 1.23

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

* Upgrade golangci-lint to 1.63.4

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

---------

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
This commit is contained in:
Vatsal Parekh 2025-01-29 19:35:04 +05:30 committed by GitHub
parent 8ae74491e7
commit 7da1377c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Install golangci-lint - name: Install golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1 uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with: with:
version: v1.59.0 version: v1.63.4
- name: Install env-test - name: Install env-test
run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
- name: Build - name: Build

View File

@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental # syntax = docker/dockerfile:experimental
FROM registry.suse.com/bci/golang:1.22 as build FROM registry.suse.com/bci/golang:1.23 as build
COPY go.mod go.sum main.go /src/ COPY go.mod go.sum main.go /src/
COPY pkg /src/pkg/ COPY pkg /src/pkg/
#RUN --mount=type=cache,target=/root/.cache/go-build \ #RUN --mount=type=cache,target=/root/.cache/go-build \

4
go.mod
View File

@ -1,8 +1,8 @@
module github.com/rancher/steve module github.com/rancher/steve
go 1.22.0 go 1.23
toolchain go1.22.7 toolchain go1.23.4
replace ( replace (
github.com/crewjam/saml => github.com/rancher/saml v0.2.0 github.com/crewjam/saml => github.com/rancher/saml v0.2.0