File tree Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Expand file tree Collapse file tree 4 files changed +49
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Test macOS
3+ jobs :
4+ test :
5+ strategy :
6+ matrix :
7+ go-version : ["1.14", "1.x"]
8+ os : [macos-latest]
9+ runs-on : ${{ matrix.os }}
10+ steps :
11+ - name : Install Go
12+ uses : actions/setup-go@v2
13+ with :
14+ go-version : ${{ matrix.go-version }}
15+ - name : Checkout code
16+ uses : actions/checkout@v2
17+ with :
18+ fetch-depth : 0
19+ - name : Setup Environment
20+ run : |
21+ echo GIT_VERSION=$(git describe --tags) >> $GITHUB_ENV
22+ - name : Test
23+ run : GO111MODULE=on go test -v ./...
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Test Windows
3+ jobs :
4+ test :
5+ strategy :
6+ matrix :
7+ go-version : ["1.14", "1.x"]
8+ os : [windows-latest]
9+ runs-on : ${{ matrix.os }}
10+ steps :
11+ - name : Install Go
12+ uses : actions/setup-go@v2
13+ with :
14+ go-version : ${{ matrix.go-version }}
15+ - name : Checkout code
16+ uses : actions/checkout@v2
17+ with :
18+ fetch-depth : 0
19+ - name : Setup Environment
20+ run : |
21+ echo GIT_VERSION=$(git describe --tags) >> $GITHUB_ENV
22+ - name : Test
23+ env :
24+ CGO_ENABLED : 1
25+ GO111MODULE : " on"
26+ run : go test -v ./...
File renamed without changes.
You can’t perform that action at this time.
0 commit comments