File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 2323 run : go mod download
2424 - name : Run unit tests
2525 run : go test -v ./...
26- build-test :
26+ build-arch- test :
2727 strategy :
2828 matrix :
2929 go-version : [1.13.x]
4343 run : go mod download
4444 - name : Test to build binary
4545 run : GOARCH=${{ matrix.arch }} go build ./...
46+ build-platform-test :
47+ strategy :
48+ matrix :
49+ go-version : [1.13.x]
50+ platform : [windows-latest, macos-latest]
51+ runs-on : ${{ matrix.platform }}
52+ steps :
53+ - name : Install Go
54+ uses : actions/setup-go@v1
55+ with :
56+ go-version : ${{ matrix.go-version }}
57+ - name : checkout
58+ uses : actions/checkout@v2
59+ with :
60+ fetch-depth : 1
61+ - name : Get dependencies
62+ run : go mod download
63+ - name : Test to build binary
64+ run : go build ./...
You can’t perform that action at this time.
0 commit comments