mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-05-02 20:17:50 +08:00
Merge branch 'lifei6671-master'
This commit is contained in:
commit
bdbecab46d
25
.github/workflows/go.yml
vendored
25
.github/workflows/go.yml
vendored
@ -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 ./...
|
10
appveyor.yml
10
appveyor.yml
@ -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%
|
||||
|
Loading…
Reference in New Issue
Block a user