Skip to content

Commit 7a01b54

Browse files
authored
Replace Travis CI with Github workflow pipeline (#16)
1 parent 8af989b commit 7a01b54

File tree

2 files changed

+35
-19
lines changed

2 files changed

+35
-19
lines changed

.github/workflows/go.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
shell: 'sh -x'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false # report all go versions separately
17+
matrix:
18+
go-version:
19+
- "1.12"
20+
- "1.13"
21+
- "1.14"
22+
- "1.15"
23+
- "1.16"
24+
- "1.17"
25+
steps:
26+
- uses: actions/checkout@v3
27+
28+
- name: Set up Go
29+
uses: actions/setup-go@v3
30+
with:
31+
go-version: ${{matrix.go-version}}
32+
33+
- name: Build
34+
run: make test
35+

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)