[GH-ISSUE #226] ::error::ENOENT: no such file or directory fro action ruby/setup-ruby #155

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

Originally created by @mrcasals on GitHub (May 7, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/226

Hi!

Similar to #150, when running act -j lint on https://github.com/decidim/decidim I'm getting an error on the ruby/setup-ruby step:

$ act -j lint
[[CI] Lint/Lint code] 🚀  Start image=node:12.6-buster-slim
[[CI] Lint/Lint code]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[[CI] Lint/Lint code]   🐳  docker cp src=/Users/marc/code/decidim/. dst=/github/workspace
[[CI] Lint/Lint code] ⭐  Run actions/checkout@v2.0.0
[[CI] Lint/Lint code]   ✅  Success - actions/checkout@v2.0.0
[[CI] Lint/Lint code] ⭐  Run ruby/setup-ruby@master
[[CI] Lint/Lint code]   ☁  git clone 'https://github.com/ruby/setup-ruby' # ref=master
[[CI] Lint/Lint code]   🐳  docker cp src=/Users/marc/.cache/act/ruby-setup-ruby@master dst=/actions/
[[CI] Lint/Lint code]   ❗  ::error::ENOENT: no such file or directory, open '/etc/lsb-release'
[[CI] Lint/Lint code]   ❌  Failure - ruby/setup-ruby@master
Error: exit with `FAILURE`: 1

I'm using act 0.2.8.

Any idea what might be happening? Thanks!

Originally created by @mrcasals on GitHub (May 7, 2020). Original GitHub issue: https://github.com/nektos/act/issues/226 Hi! Similar to #150, when running `act -j lint` on https://github.com/decidim/decidim I'm getting an error on the `ruby/setup-ruby` step: ``` $ act -j lint [[CI] Lint/Lint code] 🚀 Start image=node:12.6-buster-slim [[CI] Lint/Lint code] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [[CI] Lint/Lint code] 🐳 docker cp src=/Users/marc/code/decidim/. dst=/github/workspace [[CI] Lint/Lint code] ⭐ Run actions/checkout@v2.0.0 [[CI] Lint/Lint code] ✅ Success - actions/checkout@v2.0.0 [[CI] Lint/Lint code] ⭐ Run ruby/setup-ruby@master [[CI] Lint/Lint code] ☁ git clone 'https://github.com/ruby/setup-ruby' # ref=master [[CI] Lint/Lint code] 🐳 docker cp src=/Users/marc/.cache/act/ruby-setup-ruby@master dst=/actions/ [[CI] Lint/Lint code] ❗ ::error::ENOENT: no such file or directory, open '/etc/lsb-release' [[CI] Lint/Lint code] ❌ Failure - ruby/setup-ruby@master Error: exit with `FAILURE`: 1 ``` I'm using `act` 0.2.8. Any idea what might be happening? Thanks!
Author
Owner

@robikovacs commented on GitHub (May 12, 2020):

Got a similar problem.

$ act
[Ruby/test] 🚀  Start image=node:12.6-buster-slim
[Ruby/test]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Ruby/test]   🐳  docker cp src=/Users/robi/Workspace/room/portal-api/. dst=/github/workspace
[Ruby/test] ⭐  Run actions/checkout@v2
[Ruby/test]   ✅  Success - actions/checkout@v2
[Ruby/test] ⭐  Run Set up Ruby
[Ruby/test]   ☁  git clone 'https://github.com/ruby/setup-ruby' # ref=v1
[Ruby/test] Unable to resolve v1: reference not found
[Ruby/test]   ❌  Failure - Set up Ruby
<!-- gh-comment-id:627422875 --> @robikovacs commented on GitHub (May 12, 2020): Got a similar problem. ```sh $ act [Ruby/test] 🚀 Start image=node:12.6-buster-slim [Ruby/test] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Ruby/test] 🐳 docker cp src=/Users/robi/Workspace/room/portal-api/. dst=/github/workspace [Ruby/test] ⭐ Run actions/checkout@v2 [Ruby/test] ✅ Success - actions/checkout@v2 [Ruby/test] ⭐ Run Set up Ruby [Ruby/test] ☁ git clone 'https://github.com/ruby/setup-ruby' # ref=v1 [Ruby/test] Unable to resolve v1: reference not found [Ruby/test] ❌ Failure - Set up Ruby ```
Author
Owner

@cplee commented on GitHub (May 13, 2020):

see: https://github.com/nektos/act/issues/107

<!-- gh-comment-id:628277245 --> @cplee commented on GitHub (May 13, 2020): see: https://github.com/nektos/act/issues/107
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#155
No description provided.