[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.
This commit is contained in:
Daniele Sluijters 2024-04-22 15:51:49 +02:00
parent 62788aa116
commit 9a2ce5c19e
1 changed files with 2 additions and 2 deletions

4
go.mod
View File

@ -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