diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-04-06 15:15:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 15:15:03 +0800 |
commit | 559af54e663cb0c2bc6a0a6dc462a44a251f2c3a (patch) | |
tree | c9e933e78f76001f294fa7275f0c5263c914d3e9 | |
parent | 083ecb7244486d530ddc8587b6b4776d21616353 (diff) |
build: require Go 1.14 for using `t.Cleanup` (#6069)
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | go.mod | 4 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | internal/gitutil/mock.go (renamed from internal/gitutil/mock_test.go) | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cbd6f942..0313c1ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ All notable changes to Gogs are documented in this file. ### Changed -- The required Go version to compile source code changed to 1.13. +- The required Go version to compile source code changed to 1.14. - All assets are now embedded into binary and served from memory by default. Set `[server] LOAD_ASSETS_FROM_DISK = true` to load them from disk. [#5920](https://github.com/gogs/gogs/pull/5920) - Application and Go versions are removed from page footer and only show in the admin dashboard. - Build tag for running as Windows Service has been changed from `miniwinsvc` to `minwinsvc`. @@ -1,6 +1,6 @@ module gogs.io/gogs -go 1.13 +go 1.14 require ( github.com/bgentry/speakeasy v0.1.0 // indirect @@ -73,5 +73,5 @@ require ( xorm.io/xorm v0.8.0 ) -// +heroku goVersion go1.13 +// +heroku goVersion go1.14 // +heroku install ./ @@ -1,4 +1,4 @@ -// +build go1.13 +// +build go1.14 // Copyright 2014 The Gogs Authors. All rights reserved. // Use of this source code is governed by a MIT-style diff --git a/internal/gitutil/mock_test.go b/internal/gitutil/mock.go index 161d4474..161d4474 100644 --- a/internal/gitutil/mock_test.go +++ b/internal/gitutil/mock.go |