workflows: proper triggers
This commit is contained in:
parent
e6341a655f
commit
6481a44bf8
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -3,7 +3,8 @@ name: Test Action
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -33,8 +34,7 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
run: |
|
run: git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
||||||
git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
|
||||||
- name: Test run
|
- name: Test run
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue