Add actions

This commit is contained in:
Milan Nikolic 2021-11-11 16:44:27 +01:00
parent 7b91ce25fb
commit 175f8a6130
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

18
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,18 @@
on: [push, pull_request]
name: Build
jobs:
test:
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build ./...