summaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-03-16 03:50:26 +0100
committerGitHub <noreply@github.com>2022-03-15 22:50:26 -0400
commitfe9626af296f7c7893af8cff88bc4195724bea07 (patch)
tree7a53ba47454d62c52128da1cf9f2ed723af97bbd /go.mod
parent6ab4a96855e472f3a8f86b2e7f66a9cc714fa447 (diff)
downloadgitea-fe9626af296f7c7893af8cff88bc4195724bea07.tar.gz
gitea-fe9626af296f7c7893af8cff88bc4195724bea07.zip
Use `go run` for tool dependencies, require go 1.17 (#18874)
This ensures the tools only run in the versions we've tested and it also does not polute PATH with those tools so they are truly isolated. This syntax of `go run` requires go 1.17, so the minimum version is set accordingly. Fixes: https://github.com/go-gitea/gitea/issues/18867 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index d1f4b7c4cf..a545dacca7 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module code.gitea.io/gitea
-go 1.16
+go 1.17
require (
code.gitea.io/gitea-vet v0.2.2-0.20220122151748-48ebc902541b