Skip to content

Commit fe917c6

Browse files
author
Emily Zhang
committed
migrate to github actions
1 parent fedb27b commit fe917c6

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Build
2+
on: push
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- uses: actions/setup-go@v1
10+
with:
11+
go-version: '1.13.x' # The Go version to download (if necessary) and use.
12+
- run: make deps build test

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.PHONY: build deps test
2+
3+
export GO111MODULE=on
4+
5+
build:
6+
go build ./...
7+
8+
deps:
9+
go mod verify
10+
go mod tidy
11+
12+
test:
13+
go test -v ./...

0 commit comments

Comments
 (0)