Browse Source

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

ᴜɴᴋɴᴡᴏɴ 4 years ago
parent
commit
559af54e66
4 changed files with 4 additions and 4 deletions
  1. 1 1
      CHANGELOG.md
  2. 2 2
      go.mod
  3. 1 1
      gogs.go
  4. 0 0
      internal/gitutil/mock.go

+ 1 - 1
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`.

+ 2 - 2
go.mod

@@ -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 - 1
gogs.go

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

+ 0 - 0
internal/gitutil/mock_test.go → internal/gitutil/mock.go