Skip to content

Commit 98b41cc

Browse files
committed
add github actions config
1 parent 1962594 commit 98b41cc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: unit-tests
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
paths:
7+
- '**.go'
8+
- Makefile
9+
- '**.tpl'
10+
- go.mod
11+
- go.sum
12+
13+
jobs:
14+
unit-tests:
15+
name: make test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: checkout code
19+
uses: actions/checkout@v2
20+
- uses: actions/setup-go@v2
21+
with:
22+
go-version: '1.15'
23+
- name: make test
24+
run: make test

0 commit comments

Comments
 (0)