diff --git a/.github/workflows/rest-api-fuzzer.yml b/.github/workflows/rest-api-fuzzer.yml index a5cb96511b..406c48e7e2 100644 --- a/.github/workflows/rest-api-fuzzer.yml +++ b/.github/workflows/rest-api-fuzzer.yml @@ -24,6 +24,11 @@ jobs: contents: read steps: + - uses: actions/checkout@v4 + name: Checkout speckle-server + with: + path: 'speckle-server' + - uses: actions/checkout@v4 name: Checkout RESTler Fuzzer with: @@ -58,7 +63,7 @@ jobs: with: path: | ${{ github.workspace }}/bin/restler - key: restler-binaries-${{ env.RESTLER_VERSION }} + key: restler-binaries-${{ env.RESTLER_VERSION }}-${{ hashFiles('speckle-server/.github/workflows/rest-api-fuzzer.yml') }} - name: Build RESTler if: steps.cache-restler-bin-restore.outputs.cache-hit != 'true' @@ -80,11 +85,6 @@ jobs: ${{ github.workspace }}/bin/restler key: ${{ steps.cache-restler-bin-restore.outputs.cache-primary-key }} - - uses: actions/checkout@v4 - name: Checkout speckle-server - with: - path: 'speckle-server' - - name: Restore cached Restler configuration id: cache-config-restore uses: actions/cache/restore@v4