From b3bcae8bd6fa7f6bf5087f4952bbeb02cefd57c0 Mon Sep 17 00:00:00 2001
From: Earl Warren <contact@earl-warren.org>
Date: Wed, 5 Jun 2024 07:24:09 +0200
Subject: [PATCH] Update dependency go to v1.22

There is no need to pin the patch release for the build
environment. They are backward compatible and it prevents security
upgrades to be taken into account.
---
 go.mod | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/go.mod b/go.mod
index bf9e25cca6..fbc4bcf8e0 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,8 @@
 module code.gitea.io/gitea
 
-go 1.22.3
+go 1.22.0
+
+toolchain go1.22.3
 
 require (
 	code.forgejo.org/forgejo/reply v1.0.1