Skip to content
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

Can't find action.yml file for action actions/setup-ruby #150

Closed
mrcasals opened this issue Mar 13, 2020 · 3 comments
Closed

Can't find action.yml file for action actions/setup-ruby #150

mrcasals opened this issue Mar 13, 2020 · 3 comments
Labels
area/cli Relating to the cli kind/bug Something isn't working

Comments

@mrcasals
Copy link

hi!

I just installed the latest version of act published in Homebrew (0.2.6), and tried to run it against this workflow file:

https://github.com/diputaciodegirona/decidim-diputacio-girona/blob/master/.github/workflows/decidim_ci.yml

When running it with act -n it ives me this output:

*DRYRUN* [[CI] Decidim/Tests] 🚀  Start image=node:12.6-buster-slim
*DRYRUN* [[CI] Decidim/Tests]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
*DRYRUN* [[CI] Decidim/Tests] ⭐  Run actions/checkout@v2.0.0
*DRYRUN* [[CI] Decidim/Tests]   ✅  Success - actions/checkout@v2.0.0
*DRYRUN* [[CI] Decidim/Tests] ⭐  Run actions/setup-ruby@master
*DRYRUN* [[CI] Decidim/Tests]   ☁  git clone 'https://github.com/actions/setup-ruby' # ref=master
*DRYRUN* [[CI] Decidim/Tests]   ❌  Failure - actions/setup-ruby@master
Error: open /Users/marc/.cache/act/actions-setup-ruby@master/action.yaml: no such file or directory

I checked the action repo and it has an action.yml file (not the action.yaml that it's looking for, not the a missing in the repo file).

I'm not sure how to fix it, I've never written any Go :(

@KingDarBoja
Copy link

KingDarBoja commented Mar 14, 2020

Have same issue but with actions/setup-python@v1 in my case. The issue seems to be related to the action not being available locally 🤔

This is related to #107

@cplee
Copy link
Contributor

cplee commented Mar 14, 2020

This one isn't related to #107. The problem is that in dryrun mode the action isn't cloned from the remote repo. Will look at a fix...

@cplee cplee added area/cli Relating to the cli kind/bug Something isn't working labels Mar 14, 2020
@cplee cplee closed this as completed in f5e67f2 Mar 14, 2020
@KingDarBoja
Copy link

Apologies for the response, I thought it was the cause. Anyway, glad we got a fix so quick! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relating to the cli kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants