[GH-ISSUE #150] Can't find action.yml file for action actions/setup-ruby #99

Closed
opened 2026-03-01 21:40:06 +03:00 by kerem · 3 comments
Owner

Originally created by @mrcasals on GitHub (Mar 13, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/150

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 :(

Originally created by @mrcasals on GitHub (Mar 13, 2020). Original GitHub issue: https://github.com/nektos/act/issues/150 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 :(
kerem 2026-03-01 21:40:06 +03:00
Author
Owner

@KingDarBoja commented on GitHub (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

<!-- gh-comment-id:598998163 --> @KingDarBoja commented on GitHub (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
Author
Owner

@cplee commented on GitHub (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...

<!-- gh-comment-id:599021545 --> @cplee commented on GitHub (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...
Author
Owner

@KingDarBoja commented on GitHub (Mar 14, 2020):

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

<!-- gh-comment-id:599073815 --> @KingDarBoja commented on GitHub (Mar 14, 2020): Apologies for the response, I thought it was the cause. Anyway, glad we got a fix so quick! 💯
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#99
No description provided.