From 11ef7889613ee9f988ca6616689578d6ceda958b Mon Sep 17 00:00:00 2001 From: James Pond Date: Sun, 21 Jan 2024 18:16:27 -0300 Subject: [PATCH] Increase required Go version from 1.20 to 1.21 Needed for slog.Logger. Signed-off-by: James Pond --- .github/workflows/ci.yml | 2 +- .github/workflows/linter.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c11463e..3660e10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: 'Setup Go environment' uses: 'actions/setup-go@v4' with: - go-version: '>=1.20.6' + go-version: '>=1.21.6' - name: 'Run tests' run: 'make test' diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index d769899..7a4c2ce 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -31,7 +31,7 @@ jobs: - name: 'Setup Go environment' uses: 'actions/setup-go@v4' with: - go-version: '>=1.20.6' + go-version: '>=1.21.6' - name: 'Download project dependencies' run: 'make init' diff --git a/go.mod b/go.mod index 4185a02..518e521 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.sr.ht/~jamesponddotco/bunnystorage-go -go 1.20 +go 1.21 require ( git.sr.ht/~jamesponddotco/httpx-go v0.0.0-20230427215504-7c26a7f028e7