go 1.16 features
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature) - pin gox version (go 1.16 feature) - update ci to go 1.16
This commit is contained in:
@@ -2,13 +2,19 @@ clone_folder: c:\gopath\src\github.com\sosedoff\pgweb
|
||||
|
||||
environment:
|
||||
GOPATH: c:\gopath
|
||||
GOROOT: c:\goroot116\go
|
||||
GOTOOLDIR: c:\goroot116\go\pkg\tool\windows_amd64
|
||||
CGO_ENABLED: 0
|
||||
|
||||
services:
|
||||
- postgresql
|
||||
|
||||
install:
|
||||
- ps: mkdir c:\goroot116
|
||||
- ps: iwr -outf c:\goroot116\go1.16.windows-amd64.zip https://golang.org/dl/go1.16.windows-amd64.zip
|
||||
- ps: Expand-Archive c:\goroot116\go1.16.windows-amd64.zip -DestinationPath c:\goroot116
|
||||
- set PATH=%GOPATH%\bin;%PATH%
|
||||
- set PATH=%GOROOT%\bin;%PATH%
|
||||
- echo %PATH%
|
||||
- echo %GOPATH%
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
||||
Reference in New Issue
Block a user