Skip to content

Commit 618492b

Browse files
committed
Merge branch 'feature/github-actions' into develop
2 parents aee87e8 + f6a97de commit 618492b

File tree

2 files changed

+26
-18
lines changed

2 files changed

+26
-18
lines changed

.github/workflows/test.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)