Merge pull request #188 from github/other-ci

Run CI on macos and windows
This commit is contained in:
Nate Smith 2019-12-23 23:38:28 -05:00 committed by GitHub
commit bce5d21fa1

View file

@ -1,8 +1,8 @@
name: Go
name: Tests
on: [push]
jobs:
build:
name: Build
build-linux:
name: Linux Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
@ -21,3 +21,43 @@ jobs:
run: |
go test ./...
go build -v .
build-windows:
name: Windows Build
runs-on: windows-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Verify dependencies
run: go mod verify
- name: Build
run: |
go test ./...
go build -v .
build-macos:
name: MacOS Build
runs-on: macos-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Verify dependencies
run: go mod verify
- name: Build
run: |
go test ./...
go build -v .