Merge pull request #590 from sosedoff/appveyor-go-1.18

Test with appveyor on go 1.18
This commit is contained in:
Dan Sosedoff 2022-12-01 13:00:37 -06:00 committed by GitHub
commit 1eb86060b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,17 +2,17 @@ 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
GOROOT: c:\goroot118\go
GOTOOLDIR: c:\goroot118\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
- ps: mkdir c:\goroot118
- ps: iwr -outf c:\goroot118\go1.18.windows-amd64.zip https://golang.org/dl/go1.18.windows-amd64.zip
- ps: Expand-Archive c:\goroot118\go1.18.windows-amd64.zip -DestinationPath c:\goroot118
- set PATH=%GOPATH%\bin;%PATH%
- set PATH=%GOROOT%\bin;%PATH%
- echo %PATH%