]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Add git repo checkout to testing workflow
authorTino Reichardt <milky-zfs@mcmilk.de>
Wed, 15 Mar 2023 22:37:56 +0000 (23:37 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 22:37:56 +0000 (15:37 -0700)
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

.github/workflows/zfs-linux-tests.yml

index b76c634e7236ecd8a78228965a49be855f6b50f7..f72ff7f5a73f1180c4192e0391e0a17e61daeaf7 100644 (file)
@@ -13,6 +13,9 @@ jobs:
   zloop:
     runs-on: ubuntu-${{ inputs.os }}
     steps:
+    - uses: actions/checkout@v3
+      with:
+        ref: ${{ github.event.pull_request.head.sha }}
     - uses: actions/download-artifact@v3
       with:
         name: modules-${{ inputs.os }}
@@ -50,6 +53,9 @@ jobs:
   sanity:
     runs-on: ubuntu-${{ inputs.os }}
     steps:
+    - uses: actions/checkout@v3
+      with:
+        ref: ${{ github.event.pull_request.head.sha }}
     - uses: actions/download-artifact@v3
       with:
         name: modules-${{ inputs.os }}
@@ -83,6 +89,9 @@ jobs:
       matrix:
         tests: [ part1, part2, part3, part4 ]
     steps:
+    - uses: actions/checkout@v3
+      with:
+        ref: ${{ github.event.pull_request.head.sha }}
     - uses: actions/download-artifact@v3
       with:
         name: modules-${{ inputs.os }}