From 8d912597cf78007b6cc2bbbcf70e2989f57d8ae8 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Fri, 11 Dec 2020 16:14:01 +0300 Subject: [PATCH] feat: add auto test (github actions) --- .github/workflows/tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..08e5505 --- /dev/null +++ b/.github/workflows/tests.yml @@ -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 +