From 3a369d834ad33506c556941327882b556bc9383c Mon Sep 17 00:00:00 2001 From: Daenney Date: Fri, 26 Apr 2024 10:40:29 +0200 Subject: [chore] Upgrade our Go version to 1.22 (#2862) * [chore] Upgrade our Go version to 1.22 With Go 1.22 having been released at the start of February, it's now been a few months. No major issues have shown up, and the two point release since then have primarily been security fixes plus some general bug fixing. This sets the required Go version to 1.22, as there's nothing in 1.22.1 or 1.22.2 that we would explicitly require. It sets the toolchain to the latest point release, to ensure we pick up any fixes from there when building releases etc. * [chore] Update CI to Go 1.22 * [chore] Update golangci-lint to 1.25.7 Newer version should know about Go 1.22 and run fine. * [chore] Update Docker container to Go 1.22 * [chore] Update Dockerfile to newer Alpine version * sign drone.yml * add missing license header --------- Co-authored-by: tobi --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index a157558a7..1626d5d8a 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/superseriousbusiness/gotosocial -go 1.21 +go 1.22 replace modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.29.8-concurrency-workaround -toolchain go1.21.3 +toolchain go1.22.2 require ( codeberg.org/gruf/go-bytes v1.0.2 -- cgit v1.3