feat: add auto test (github actions)

This commit is contained in:
GenZmeY 2020-12-11 16:14:01 +03:00
parent 60c08d2a2d
commit 8d912597cf

23
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: tests
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.13.0'
- name: Build
run: make -j $(nproc) && make test