Skip to content

Commit 8498306

Browse files
committed
Add a CI workflow for GitHub Actions
Since we're no longer using Travis CI, let's switch to using GitHub Action for CI. Build on the same Go versions that Git LFS does. Limit us to Ubuntu only, since almost nothing in this library depends on anything OS specific. We can always add more OS versions in the future if we determine that we see with compatibility problems.
1 parent 11211c7 commit 8498306

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build-go:
6+
name: Default build
7+
strategy:
8+
matrix:
9+
go: ['1.12.x', '1.13.x', '1.14.x']
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- uses: actions/setup-go@v1
14+
with:
15+
go-version: ${{ matrix.go }}
16+
- run: script/cibuild

0 commit comments

Comments
 (0)