Skip to content

Commit babd9c2

Browse files
committed
use github actions for CI
1 parent c30549a commit babd9c2

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push]
2+
3+
name: Go
4+
jobs:
5+
test:
6+
strategy:
7+
matrix:
8+
go-version: ["1.12.8"]
9+
platform: [ubuntu-latest, macos-latest, windows-latest]
10+
runs-on: ${{ matrix.platform }}
11+
steps:
12+
- name: Install Go
13+
uses: actions/setup-go@v1
14+
with:
15+
go-version: ${{ matrix.go-version }}
16+
- name: Checkout code
17+
uses: actions/checkout@v1
18+
- name: Test
19+
env:
20+
GO111MODULE: "on"
21+
GOPROXY: "https://proxy.golang.org"
22+
run: go test ./...

.travis.yml

-11
This file was deleted.

0 commit comments

Comments
 (0)