Skip to content

Commit 4f5f962

Browse files
committed
add github actions
1 parent 52ae641 commit 4f5f962

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/go.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ master, upd_ci ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go: [ '1.17', '1.16', '1.15' ]
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Set up Go ${{ matrix.go }}
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: ${{ matrix.go }}
23+
24+
- name: Install golint
25+
run: go get golang.org/x/lint/golint
26+
27+
- name: Build and Run tests
28+
run: make

0 commit comments

Comments
 (0)