change to matrix build

This commit is contained in:
Florian Forster 2019-11-15 14:23:29 +01:00
parent a91607b4e1
commit 27a9c8fdcb
No known key found for this signature in database
GPG key ID: B03784B4B09FB794
2 changed files with 15 additions and 17 deletions

View file

@ -1,20 +1,16 @@
name: Test name: Test
on: on: push
push:
branches:
- !master
jobs: jobs:
release: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-108.04
strategy:
matrix:
go: ['1.11', '1.12', '1.13']
name: Go ${{ matrix.go }} sample
steps: steps:
- name: Source checkout - uses: actions/checkout@master
uses: actions/checkout@v1 - name: Setup go
with: uses: actions/setup-go@v1
fetch-depth: 1 with:
- name: Release go-version: ${{ matrix.go }}
shell: bash - run: echo "i am groot"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Insert Go test & Build Here" ## Insert Go test & Build Here
npx semantic-release

2
.gitignore vendored
View file

@ -10,3 +10,5 @@
# Output of the go coverage tool, specifically when used with LiteIDE # Output of the go coverage tool, specifically when used with LiteIDE
*.out *.out
.DS_Store