Skip to content

Commit af4ff6d

Browse files
authored
Merge pull request #16 from timonwong/feat/migrate-github-actions
feat: Migrate to github actions
2 parents 188830c + b06eda0 commit af4ff6d

File tree

2 files changed

+27
-36
lines changed

2 files changed

+27
-36
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
go-version: [1.13x, 1.14.x, 1.15.x]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- name: Install Go
19+
uses: actions/setup-go@v2
20+
with:
21+
go-version: ${{ matrix.go-version }}
22+
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Go test
27+
run: go test -race ./...

.travis.yml

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

0 commit comments

Comments
 (0)