change to matrix build
This commit is contained in:
parent
a91607b4e1
commit
27a9c8fdcb
2 changed files with 15 additions and 17 deletions
28
.github/workflows/test.yml
vendored
28
.github/workflows/test.yml
vendored
|
@ -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
|
||||||
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
go-version: ${{ matrix.go }}
|
||||||
- name: Release
|
- run: echo "i am groot"
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
echo "Insert Go test & Build Here" ## Insert Go test & Build Here
|
|
||||||
npx semantic-release
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue