From 13783b419d536525ad40b5f88cb9dc41522dd37f Mon Sep 17 00:00:00 2001 From: version_updater Date: Wed, 14 Aug 2024 16:34:35 +0000 Subject: [PATCH 1/3] Upgrade to Go 1.23 :rocket: --- Dockerfile | 2 +- go.mod | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aaebca6..0b4773e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.23 RUN apt-get update \ && apt-get install -y libaio1 unzip diff --git a/go.mod b/go.mod index 11f8479..f8f12af 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/sue445/plant_erd -go 1.22 +go 1.23 -toolchain go1.22.0 +toolchain go1.23.0 require ( github.com/deckarep/golang-set v1.8.0 From 0602f8476ff92bbe84ce710edb54d570723845bc Mon Sep 17 00:00:00 2001 From: sue445 Date: Thu, 15 Aug 2024 02:03:54 +0900 Subject: [PATCH 2/3] Use golangci-lint 1.60 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4739fdd..6cc7ea5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -310,7 +310,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.58 + version: v1.60 - name: Slack Notification (not success) uses: act10ns/slack@v2 From dcc83b917c1bd17f63508f271f766c001f353556 Mon Sep 17 00:00:00 2001 From: sue445 Date: Thu, 15 Aug 2024 02:04:01 +0900 Subject: [PATCH 3/3] toolchain is needless since Go 1.23 --- go.mod | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.mod b/go.mod index f8f12af..d145eb1 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/sue445/plant_erd go 1.23 -toolchain go1.23.0 - require ( github.com/deckarep/golang-set v1.8.0 github.com/go-sql-driver/mysql v1.8.1