build: require Go 1.14 for using `t.Cleanup` (#6069)

pull/6071/head
ᴜɴᴋɴᴡᴏɴ 2020-04-06 15:15:03 +08:00 committed by GitHub
parent 083ecb7244
commit 559af54e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

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

4
go.mod
View File

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

View File

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