Setup CI via Actions

This commit is contained in:
Carlos Martín Nieto 2019-08-15 09:38:02 +02:00 committed by GitHub
parent 37e5b53f74
commit 26c983c3a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
.github/workflows/ci.yml vendored Normal file
View File

@ -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