summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2019-08-15 09:38:02 +0200
committerGitHub <[email protected]>2019-08-15 09:38:02 +0200
commit26c983c3a25cfb449e0e55d73871605c4d5667fa (patch)
treef2498fdc4397b3ebefbb7aa11606ed029d13fbaa
parent37e5b53f742d3127acfa2a9cfc57ccb94e1b8c59 (diff)
Setup CI via Actions
-rw-r--r--.github/workflows/ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..34eed3b
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: git2go CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ - v*
+
+jobs:
+
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ go: [ '1.9', '1.10', '1.11', '1.12' ]
+ name: Go ${{ matrix.go }}
+
+ runs-on: ubuntu-18.04
+
+ steps:
+ - name: Set up Go
+ uses: actions/setup-go@v1
+ with:
+ go-version: ${{ matrix.go }}
+ id: go
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+ - name: Build
+ run: make test-static