Skip to content

Commit 82e1f83

Browse files
committed
migrating to github workflows
1 parent fd7989e commit 82e1f83

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

.github/workflows/ci.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)