Skip to content

Commit 2846b2b

Browse files
authored
Create pull_request.yml
1 parent 2871b17 commit 2846b2b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Makefile CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
name: test
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go: ['1.7']
16+
17+
steps:
18+
- name: Install make
19+
run: sudo apt-get install make
20+
- name: Set up Go 1.x
21+
uses: actions/setup-go@v2
22+
with:
23+
go-version: ${{ matrix.go }}
24+
id: go
25+
- uses: actions/checkout@v2
26+
27+
- name: Run build
28+
run: make build
29+
30+
- name: Run test
31+
run: make test

0 commit comments

Comments
 (0)