summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2020-02-12 18:58:58 -0800
committerGitHub <[email protected]>2020-02-12 18:58:58 -0800
commitf21ecd9e74314585b26c08ddb6ea674d7b0bcca4 (patch)
tree6026a804d9e4e110359acc8d28279a0018dee1a3 /.github
parent75c5e41422f224a6fde40903c4af4cf1afbd2d46 (diff)
parent22d400832bced5456a0495111d6e9eea432bc5e6 (diff)
Merge pull request #520 from libgit2/actions
Setup CI via Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..d058ec6
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,31 @@
+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' , '1.13']
+ 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: |
+ git submodule update --init
+ make test-static