Create go.yml

This commit is contained in:
Masaaki Goshima 2020-04-26 12:11:35 +09:00 committed by GitHub
parent f54e35c56c
commit 9710f3e0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Go
on: [push]
jobs:
build:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
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@v2
- name: Test
run: go test -v ./