diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index cb513c1c7..c4d677502 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -14,14 +14,11 @@ jobs: CXXFLAGS: "-fdiagnostics-color" steps: - uses: actions/checkout@v3 - - name: "Restore cache . . ." - uses: actions/cache@v3 + - name: "Setup ccache . . ." + uses: Chocobo1/setup-ccache-action@v1 with: - path: /home/runner/.ccache - key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}:${{ github.sha }} - restore-keys: | - ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }} - ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules + update_packager_index: false + install_ccache: true - name: "Install dependencies . . ." run: | sudo apt-get --yes update