From c35415fd2f7e251bc0de15e351744ef7509b1a20 Mon Sep 17 00:00:00 2001 From: hedhyw Date: Sat, 5 Oct 2024 08:07:18 +0300 Subject: [PATCH] chore: upgrade go to 1.23.2 --- .github/workflows/check.yml | 2 +- .github/workflows/release.yml | 2 +- .golangci.json | 3 ++- Makefile | 2 +- go.mod | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f61f493..4ab445c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.4' + go-version: '1.23.2' id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a62d6e..0aa8a6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.4' + go-version: '1.23.2' - name: Fetch vendor run: make vendor diff --git a/.golangci.json b/.golangci.json index b808b02..d78449a 100644 --- a/.golangci.json +++ b/.golangci.json @@ -27,7 +27,8 @@ "execinquery", "tagalign", "mnd", - "nlreturn" + "nlreturn", + "exportloopref" ] }, "linters-settings": { diff --git a/Makefile b/Makefile index 10629ac..7b71b15 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOLANG_CI_LINT_VER:=v1.59.0 +GOLANG_CI_LINT_VER:=v1.61.0 OUT_BIN?=${PWD}/bin/jlv COVER_PACKAGES=./... VERSION?=${shell git describe --tags} diff --git a/go.mod b/go.mod index d69bfce..dd1821d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hedhyw/json-log-viewer -go 1.22 +go 1.23 replace github.com/antonmedv/fx => github.com/chirino/fx v0.0.0-20240818132837-248e67b184d9