-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use the cache action locally? #1513
Comments
Maybe use this extra software https://github.com/sp-ricard-valverde/github-act-cache-server with act. I haven't tested it |
Tested and works, thanks for sharing!:
And on the cache-server-docker log:
Granted, it doesn't find the cache keys because it is a first run and/or I have the keys misconfigured, but this third party cache daemon allows me to run my Rust CI workflow locally 🎉 |
Hi @brainstorm,
|
I don't use this anymore, but my workflows are here: https://github.com/umccr/htsget-rs/ By the error messages, it seems that the cache docker container thing is not up and/or reachable? Sorry I cannot help further :/ |
It's reachable but looks like i'm not sending a Authorization token Thanks for the feedback |
Same issue here. Can't get the authorisation working , failing on
I've tried to comment out that |
Has anyone managed to make this work? I always have: UPDATE: ok, it was not clear from the cache action docs that I have to explicitly save the dependencies:
|
Closed by #1770 |
Is this working for anyone using setup-python or setup-node actions? |
Act version
act version 0.2.34
Feature description
I'd like to debug a github actions problem that only happens when using a cache. Is it possible to use the github
actions-cache@v3
action locally somehow? When I use it with default settings, I get "[warning]An internal error has occurred in cache backend." and there is no cache hit. I assume this is because it wants to connect to the github cache server?The text was updated successfully, but these errors were encountered: