bob/.github/workflows/build.yml

23 lines
477 B
YAML
Raw Normal View History

2021-06-24 07:43:28 +00:00
name: Build test
on: [pull_request, push]
jobs:
build-test:
name: Build test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
2021-11-05 05:06:47 +00:00
go-version: [1.16.x, 1.17.x]
2021-06-24 07:43:28 +00:00
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build ./