limited-balloon-79828
07/19/2023, 3:39 AM~/.cache/pants/setup
as it shows a warning: du: cannot access '/home/runner/.cache/pants/setup': No such file or directory
in the GitHub Jobs' logging.
I've followed the example from Pants' python-example
repository like this:
- name: Install pants
uses: pantsbuild/actions/init-pants@v4-scie-pants
with:
gha-cache-key: v0
named-caches-hash: ${{ hashFiles('path/to/lockfile.lock') }}
cache-lmdb-store: 'true'
Is anything wrong with what I've set up in the CI process?
Thanks beforehappy-kitchen-89482
07/19/2023, 5:47 AMhappy-kitchen-89482
07/19/2023, 5:47 AMlimited-balloon-79828
07/19/2023, 5:52 AMI guess you'll have to tweak that nuking logic to account for the dir not existing at allYeah, this is a given since it doesn't exist. But I'm wondering if it's possible that I do something wrong that makes that directory doesn't exist, or that Pants use another cache location. I doubt it since I don't set any cache dir anywhere in my repository.
broad-processor-92400
07/19/2023, 9:53 PM.cache/pants/setup
with the scie-pants bootstrapping? I was under the impression that it all ends up in .cache/nce
? I'd guess the suggested nuking script could at least be tweaked to check .cache/nce
in addition to the others?happy-kitchen-89482
07/20/2023, 2:56 AMhappy-kitchen-89482
07/20/2023, 2:57 AMlimited-balloon-79828
07/20/2023, 4:27 AM.cache/pants
only exists lmdb_store
and named_caches
. So, in the CI script, I should nuke .cache/nce
instead, is that correct?broad-processor-92400
07/20/2023, 5:22 AM