Merge branch 'lifei6671-master'

This commit is contained in:
roberChen 2021-02-26 16:16:06 +08:00
commit bdbecab46d
2 changed files with 0 additions and 35 deletions

View File

@ -1,25 +0,0 @@
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...

View File

@ -27,16 +27,6 @@ install:
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/i686-4.9.1-release-posix-dwarf-rt_v3-rev1.7z" -FileName mingw_x86.7z;
7z x -oC:\ mingw_x86.7z | out-null;
}
- ps: if($env:tbs_arch -eq 'x86')
{
Start-FileDownload https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-386.exe;
copy dep-windows-386.exe c:\go\bin\dep.exe;
}
- ps: if($env:tbs_arch -eq 'x64')
{
Start-FileDownload https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-amd64.exe;
copy dep-windows-amd64.exe c:\go\bin\dep.exe;
}
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- echo %PATH%
- echo %GOPATH%