mirror of
https://github.com/rancher/steve.git
synced 2025-06-25 22:42:08 +00:00
[release/v0.3] Upgrade go version to 1.23 (#449)
* 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:
parent
6b5543e762
commit
458a12d2d7
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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: Build
|
- name: Build
|
||||||
run: make build-bin
|
run: make build-bin
|
||||||
- name: Test
|
- name: Test
|
||||||
|
@ -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
4
go.mod
@ -1,8 +1,8 @@
|
|||||||
module github.com/rancher/steve
|
module github.com/rancher/steve
|
||||||
|
|
||||||
go 1.22.0
|
go 1.23.0
|
||||||
|
|
||||||
toolchain go1.22.7
|
toolchain go1.23.4
|
||||||
|
|
||||||
// pin Kubernetes dependencies to v0.30.1, which is the version
|
// pin Kubernetes dependencies to v0.30.1, which is the version
|
||||||
// Rancher 2.9 is compiled against as newer lasso versions
|
// Rancher 2.9 is compiled against as newer lasso versions
|
||||||
|
Loading…
Reference in New Issue
Block a user