From 374d2b36a907093b1253d2d85dba6bbb93da89df Mon Sep 17 00:00:00 2001 From: Kolbe Kegel Date: Tue, 3 Dec 2024 11:36:58 -0800 Subject: [PATCH 1/5] bump to go 1.23.3 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 8590c2d..fa4a4d7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cashapp/spirit -go 1.22 +go 1.23.3 require ( github.com/alecthomas/kong v0.7.1 From 287714df425627fc4808b50c60696a8aaba53e46 Mon Sep 17 00:00:00 2001 From: Kolbe Kegel Date: Tue, 3 Dec 2024 11:37:32 -0800 Subject: [PATCH 2/5] bump to go 1.23.0 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index fa4a4d7..7cd7027 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cashapp/spirit -go 1.23.3 +go 1.23.0 require ( github.com/alecthomas/kong v0.7.1 From 7d7d3e48154162a795c1562d5682a2c9fc470f11 Mon Sep 17 00:00:00 2001 From: Kolbe Kegel Date: Tue, 3 Dec 2024 12:13:10 -0800 Subject: [PATCH 3/5] bump go version in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d03bd45..b22e5ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.23 WORKDIR /app COPY ../go.mod go.sum ./ From c222842ccad5bd629e6c9a1c36fbc73cdcb82f0a Mon Sep 17 00:00:00 2001 From: Kolbe Kegel Date: Tue, 3 Dec 2024 14:52:39 -0800 Subject: [PATCH 4/5] bump more things to go 1.23 --- .github/workflows/buildandrun.yml | 2 +- .github/workflows/linter.yml | 2 +- .github/workflows/mysql8.0.28.yml | 2 +- .github/workflows/mysql8.yml | 2 +- .github/workflows/mysql84.yml | 2 +- .github/workflows/mysql8_rbr_minimal.yml | 2 +- DEVELOPMENT.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/buildandrun.yml b/.github/workflows/buildandrun.yml index 79fb04f..482b310 100644 --- a/.github/workflows/buildandrun.yml +++ b/.github/workflows/buildandrun.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e3ce88b..67c03af 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 - name: golangci-lint diff --git a/.github/workflows/mysql8.0.28.yml b/.github/workflows/mysql8.0.28.yml index 578727b..9c5d0c2 100644 --- a/.github/workflows/mysql8.0.28.yml +++ b/.github/workflows/mysql8.0.28.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/mysql8.yml b/.github/workflows/mysql8.yml index 838af23..a3ebf79 100644 --- a/.github/workflows/mysql8.yml +++ b/.github/workflows/mysql8.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/mysql84.yml b/.github/workflows/mysql84.yml index ff4f3ee..a020aef 100644 --- a/.github/workflows/mysql84.yml +++ b/.github/workflows/mysql84.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/mysql8_rbr_minimal.yml b/.github/workflows/mysql8_rbr_minimal.yml index dafd328..85e93b9 100644 --- a/.github/workflows/mysql8_rbr_minimal.yml +++ b/.github/workflows/mysql8_rbr_minimal.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.22 + go-version: 1.23 - name: Checkout code uses: actions/checkout@v4 diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 10ef23f..c0970b3 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -1,6 +1,6 @@ ## Minimum Requirements -Spirit requires go 1.22 or higher. MySQL version 8.0 and higher is required for performing schema changes. +Spirit requires go 1.23 or higher. MySQL version 8.0 and higher is required for performing schema changes. ## Running tests From fcce7ca9eaef36cc0c011e5b0150eca5ff627f24 Mon Sep 17 00:00:00 2001 From: Kolbe Kegel Date: Tue, 3 Dec 2024 15:09:25 -0800 Subject: [PATCH 5/5] bump golangci-lint version --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 67c03af..6f2bfcc 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -25,5 +25,5 @@ jobs: uses: golangci/golangci-lint-action@v6 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.59.1 + version: v1.62.2 args: --timeout=2m