Add git repo checkout to testing workflow
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #14634
This commit is contained in:
parent
5f3611121d
commit
c9c463a508
|
@ -13,6 +13,9 @@ jobs:
|
||||||
zloop:
|
zloop:
|
||||||
runs-on: ubuntu-${{ inputs.os }}
|
runs-on: ubuntu-${{ inputs.os }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: modules-${{ inputs.os }}
|
name: modules-${{ inputs.os }}
|
||||||
|
@ -50,6 +53,9 @@ jobs:
|
||||||
sanity:
|
sanity:
|
||||||
runs-on: ubuntu-${{ inputs.os }}
|
runs-on: ubuntu-${{ inputs.os }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: modules-${{ inputs.os }}
|
name: modules-${{ inputs.os }}
|
||||||
|
@ -83,6 +89,9 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
tests: [ part1, part2, part3, part4 ]
|
tests: [ part1, part2, part3, part4 ]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: modules-${{ inputs.os }}
|
name: modules-${{ inputs.os }}
|
||||||
|
|
Loading…
Reference in New Issue