Browse Source

修复 嵌入式`time/tzdata`低版本Go不支持导致CI报错

gsw945 3 years ago
parent
commit
1d21405fd9
4 changed files with 4 additions and 4 deletions
  1. 1 1
      .travis.yml
  2. 1 1
      README.md
  3. 1 1
      appveyor.yml
  4. 1 1
      go.mod

+ 1 - 1
.travis.yml

@@ -3,7 +3,7 @@ dist: focal
 
 language: go
 go:
-  - "1.13"
+  - "1.18.1"
 
 arch:
 - amd64

+ 1 - 1
README.md

@@ -41,7 +41,7 @@ MinDoc 的前身是 [SmartWiki](https://github.com/lifei6671/SmartWiki) 文档
 
 对于没有Golang使用经验的用户,可以从 [https://github.com/mindoc-org/mindoc/releases](https://github.com/mindoc-org/mindoc/releases) 这里下载编译完的程序。
 
-如果有Golang开发经验,建议通过编译安装,要求golang版本不小于1.13(需支持`CGO`和`go mod`)。
+如果有Golang开发经验,建议通过编译安装,要求golang版本不小于1.18.1(需支持`CGO`和`go mod`)。
 > 注意: CentOS7上GLibC版本低,需要源码编译, 编译好的二进制文件无法运行。
 
 ## 常规编译

+ 1 - 1
appveyor.yml

@@ -2,7 +2,7 @@ version: 1.0.{build}
 branches:
   only:
   - master
-image: Visual Studio 2015
+image: Visual Studio 2022
 clone_folder: c:\gopath\src\github.com\mindoc-org\mindoc
 init:
 - cmd: >-

+ 1 - 1
go.mod

@@ -1,6 +1,6 @@
 module github.com/mindoc-org/mindoc
 
-go 1.13
+go 1.18.1
 
 require (
 	github.com/PuerkitoBio/goquery v1.4.1