diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 83d291b..962449e 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -34,8 +34,13 @@ jobs: tcl-dev \ z3 \ zlib1g-dev \ - - name: ccache - uses: https://github.com/hendrikmuhs/ccache-action@v1 + - name: Cache ccache dir + uses: https://code.forgejo.org/actions/checkout@v3 + with: + path: ~/.ccache + key: ${{ runner.os }}-${{ github.sha }} + restore-keys: | + ${{ runner.os }}- - run: | export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" echo "$PATH" >> "$GITHUB_PATH"