Create initial GitHub actions workflow

This commit is contained in:
Eli Bendersky 2021-08-31 06:23:50 -07:00 committed by GitHub
parent 69efd4b8c0
commit 95a10027c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.17.x]
include:
- go-version: 1.16.x
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: tools/build
env:
VERBOSE: 1
TESTING: 1