Skip to content

Commit 5c78d95

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

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.github/workflows/ci.yml

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

.travis.yml

-11
This file was deleted.

0 commit comments

Comments
 (0)