Build against micro and examples on pull requests (#1724)

* Build against micro and examples on pull requests
This commit is contained in:
Dominic Wong
2020-06-19 17:19:58 +01:00
committed by GitHub
parent 87543b2c8a
commit 695cc9d526
3 changed files with 14 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
name: Build all github.com/micro/examples
on:
push:
pull_request:
branches:
- 'release-**'
- master
jobs:
@@ -29,6 +29,6 @@ jobs:
path: 'examples'
- name: Build all
run: $GITHUB_WORKSPACE/go-micro/.github/workflows/scripts/build-all-examples.sh $GITHUB_SHA
run: $GITHUB_WORKSPACE/go-micro/.github/workflows/scripts/build-all-examples.sh ${{ github.event.pull_request.head.sha }}
working-directory: examples