From 1ef30f2ec37803429c8a8adfc544d9e3061b258d Mon Sep 17 00:00:00 2001 From: weilirs Date: Mon, 30 Dec 2024 10:39:50 -0500 Subject: [PATCH] go version upgrade Signed-off-by: weilirs --- .github/workflows/ci.yml | 11 ++++++----- .github/workflows/error-codes-updater.yaml | 2 +- build/Makefile.core.mk | 2 +- go.mod | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcd5a32b..45ee2b2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,14 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-go@master with: - go-version: '1.21' + go-version: '1.23' cache: true cache-dependency-path: go.sum - name: golangci-lint - uses: golangci/golangci-lint-action@v4.0.0 + uses: golangci/golangci-lint-action@v6 with: version: latest + skip-cache: true - name: Run golangci-lint run: make check tidy: @@ -31,7 +32,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-go@master with: - go-version: '1.21' + go-version: '1.23' cache: true cache-dependency-path: go.sum - name: go mod tidy @@ -42,9 +43,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' cache: true cache-dependency-path: go.sum - name: test diff --git a/.github/workflows/error-codes-updater.yaml b/.github/workflows/error-codes-updater.yaml index bdb2de4f..806f8b1f 100644 --- a/.github/workflows/error-codes-updater.yaml +++ b/.github/workflows/error-codes-updater.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup Go uses: actions/setup-go@master with: - go-version: ${{ secrets.GO_VERSION }} + go-version: '1.23' - name: Run utility run: | diff --git a/build/Makefile.core.mk b/build/Makefile.core.mk index a1ec2a11..b2998f0c 100644 --- a/build/Makefile.core.mk +++ b/build/Makefile.core.mk @@ -18,7 +18,7 @@ GIT_VERSION = $(shell git describe --tags `git rev-list --tags --max-count=1`) GIT_COMMITSHA = $(shell git rev-list -1 HEAD) -GOVERSION = 1.19.1 +GOVERSION = 1.23.4 GOPATH = $(shell go env GOPATH) GOBIN = $(GOPATH)/bin diff --git a/go.mod b/go.mod index 1a9a3612..710e9702 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/layer5io/meshkit -go 1.21 +go 1.23 replace ( github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.9.3