diff options
author | Joe Chen <jc@unknwon.io> | 2023-11-01 23:06:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 23:06:24 -0400 |
commit | 16b185f97dfc0dedf149a91f0b9d1924faf47ee4 (patch) | |
tree | f2a3fd9844efc6e253569edcfcb550fbcc741321 | |
parent | c531da02caa5ec15279718e1ba045b61e47561a8 (diff) |
build: remove support of Go 1.18 and 1.19 (#7590)
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | docs/dev/local_development.md | 2 | ||||
-rw-r--r-- | go.mod | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d4d2866..92d82a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to Gogs are documented in this file. ## 0.14.0+dev (`main`) +### Changed + +- The required Go version to compile source code changed to 1.20. + ### Fixed - Submodules using `ssh://` protocol and a port number are not rendered correctly. [#4941](https://github.com/gogs/gogs/issues/4941) diff --git a/docs/dev/local_development.md b/docs/dev/local_development.md index a6cb6197..dac33ba1 100644 --- a/docs/dev/local_development.md +++ b/docs/dev/local_development.md @@ -21,7 +21,7 @@ Gogs is built and runs as a single binary and meant to be cross platform. Theref Gogs has the following dependencies: - [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) (v1.8.3 or higher) -- [Go](https://golang.org/doc/install) (v1.18 or higher) +- [Go](https://golang.org/doc/install) (v1.20 or higher) - [Less.js](http://lesscss.org/usage/#command-line-usage-installing) - [Task](https://github.com/go-task/task) (v3) - [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports) @@ -1,6 +1,6 @@ module gogs.io/gogs -go 1.18 +go 1.20 require ( github.com/Masterminds/semver/v3 v3.2.1 @@ -139,5 +139,5 @@ require ( modernc.org/token v1.0.1 // indirect ) -// +heroku goVersion go1.18 +// +heroku goVersion go1.20 // +heroku install ./ |