From 04a55281b1b19122c4163ea514e8b160e0ad6928 Mon Sep 17 00:00:00 2001 From: devhindo Date: Thu, 12 Dec 2024 05:05:05 +0200 Subject: [PATCH] Update Go version to 1.23 in workflows and Dockerfile --- .github/workflows/build-and-release.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/error-ref-publisher.yml | 2 +- .github/workflows/update-oam-defs.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index b82a27e6..a854025c 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go build . docker: name: Docker build and push diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114a8016..d222b021 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/kisielk/errcheck@latest; /home/runner/go/bin/errcheck -tags draft ./... error_code_check: name: Error code utility check @@ -59,7 +59,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - run: | errWillHave="level=error" GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/layer5io/meshkit/cmd/errorutil; @@ -81,7 +81,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - uses: dominikh/staticcheck-action@v1.2.0 with: install-go: false @@ -97,7 +97,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./... sec_check: name: Security check @@ -127,7 +127,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - name: Create cluster using KinD uses: engineerd/setup-kind@v0.5.0 with: diff --git a/.github/workflows/error-ref-publisher.yml b/.github/workflows/error-ref-publisher.yml index d4f15148..99f2bee4 100644 --- a/.github/workflows/error-ref-publisher.yml +++ b/.github/workflows/error-ref-publisher.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - name: Run utility run: | diff --git a/.github/workflows/update-oam-defs.yml b/.github/workflows/update-oam-defs.yml index 0279bce2..ebbb4efe 100644 --- a/.github/workflows/update-oam-defs.yml +++ b/.github/workflows/update-oam-defs.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.23 - name: Run adapter to create components run: | touch log.txt diff --git a/Dockerfile b/Dockerfile index dd099113..6b1e2d93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 as builder +FROM golang:1.23 as builder ARG VERSION ARG GIT_COMMITSHA diff --git a/go.mod b/go.mod index 4f8ca432..dc6b0112 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/layer5io/meshery-kuma -go 1.19 +go 1.23 replace github.com/kudobuilder/kuttl => github.com/layer5io/kuttl v0.4.1-0.20200723152044-916f10574334