Skip to content

Commit e1033cc

Browse files
authored
Merge pull request #58 from 0x2b3bfa0/patch-1
Add automated testing workflow
2 parents 7fc23f9 + 9f23244 commit e1033cc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
push:
3+
branches: "*"
4+
pull_request:
5+
branches: "*"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: Test
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Install
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: ^1.14
18+
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
22+
- name: Vendor # FIXME: remove this step when migrating to pure Go modules.
23+
run: go mod vendor
24+
25+
- name: Build
26+
run: make build
27+
28+
- name: Test
29+
run: make test

0 commit comments

Comments
 (0)