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
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- !master
|
||||
on: push
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-18.04
|
||||
build:
|
||||
runs-on: ubuntu-108.04
|
||||
strategy:
|
||||
matrix:
|
||||
go: ['1.11', '1.12', '1.13']
|
||||
name: Go ${{ matrix.go }} sample
|
||||
steps:
|
||||
- name: Source checkout
|
||||
uses: actions/checkout@v1
|
||||
- uses: actions/checkout@master
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Release
|
||||
shell: bash
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
echo "Insert Go test & Build Here" ## Insert Go test & Build Here
|
||||
npx semantic-release
|
||||
go-version: ${{ matrix.go }}
|
||||
- run: echo "i am groot"
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,3 +10,5 @@
|
|||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
.DS_Store
|
Loading…
Add table
Add a link
Reference in a new issue