Skip to content

Commit 54bf414

Browse files
committed
ci: Add GitHub Actions job to execute unit tests
1 parent 43b7742 commit 54bf414

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: On Tag pushed
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
branches:
7+
- master
8+
jobs:
9+
test:
10+
name: Unit Tests
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
ref: ${{ github.ref }}
16+
- uses: actions/setup-go@v2
17+
with:
18+
go-version: '^1.13.1'
19+
- run: go test ./...

0 commit comments

Comments
 (0)