Skip to content

Commit 7efa68e

Browse files
authored
chore: migrate to github actions (#574)
1 parent 2bbaf01 commit 7efa68e

File tree

2 files changed

+27
-36
lines changed

2 files changed

+27
-36
lines changed

.github/workflows/unit-tests.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
tests:
8+
strategy:
9+
matrix:
10+
go-version: [1.14.x, 1.15.x]
11+
platform: [ubuntu-latest]
12+
runs-on: ${{ matrix.platform }}
13+
steps:
14+
- name: Install Go
15+
uses: actions/setup-go@v1
16+
with:
17+
go-version: ${{ matrix.go-version }}
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 1
22+
- name: Build binaries
23+
run: make build
24+
- name: Run unit tests
25+
run: make test
26+
- name: Check with go vet
27+
run: make vet

.travis.yml

-36
This file was deleted.

0 commit comments

Comments
 (0)