tustvold commented on code in PR #1822: URL: https://github.com/apache/arrow-rs/pull/1822#discussion_r893741151
########## .github/actions/setup-builder/action.yaml: ########## @@ -25,6 +25,26 @@ inputs: runs: using: "composite" steps: + - name: Cache Cargo + uses: actions/cache@v3 + with: + # these represent dependencies downloaded by cargo + # and thus do not depend on the OS, arch nor rust version. + # + # source https://github.com/actions/cache/blob/main/examples.md#rust---cargo + path: | + /usr/local/cargo/bin/ + /usr/local/cargo/registry/index/ + /usr/local/cargo/registry/cache/ + /usr/local/cargo/git/db/ + key: cargo-cache3- + - name: Cache Rust dependencies + uses: actions/cache@v3 + with: + # these represent compiled steps of both dependencies and arrow + # and thus are specific for a particular OS, arch and rust version. + path: /github/home/target + key: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}- Review Comment: This is the caching logic from before, however, it will progressively degrade over time as there doesn't seem to be anything to force "freshness" :thinking: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
