You can use short SHAs like this:
action "run tests" {
uses = "actions/docker/cli@04185cf"
args = "build ."
}
This works fine in Github, but it does not using act:
[run tests] Unable to resolve 04185cf: reference not found
Error: reference not found
I get the same problem with a tag.
I'm trying to use nuxt/actions-yarn@node-10; it works fine on GitHub, but I get the same error with act.
@alexlafroscia Can you please re-open? (oops โ sorry for the wrong mention. I'm too tired today!)
I'm not able to do that -- this isn't my repo.
reopened.
can @alexlafroscia or @steebchen provide an example workflow to reproduce with latest version of act?
Issue is stale and will be closed in 7 days unless there is new activity
This is happening with act version 0.2.9 and uses: ruby/setup-ruby@v1 as well. v1 is a branch in this case.
Here's the reproduction https://github.com/bogn83/reproduce_act_62/blob/master/.github/workflows/ruby.yml
The logs of the successful run on GitHub's infrastructure can be found in the third step here.
Running act locally just prints:
[Setup Ruby/run_rspec] โญ Run Set up Ruby
[Setup Ruby/run_rspec] โ git clone 'https://github.com/ruby/setup-ruby' # ref=v1
[Setup Ruby/run_rspec] Unable to resolve v1: reference not found
[Setup Ruby/run_rspec] โ Failure - Set up Ruby
Error: reference not found
I'm facing the same issue that @bogn83 mentioned.
Issue is stale and will be closed in 7 days unless there is new activity
Comment to keep this issue open.
Same here. I'm adding more output. The actions are running at Github.
/w/t/flow_climate (develop ยฑ ) โซ act [15:04:51]
[FlowClimateBuild/Tests ] ๐ Start image=node:12.6-buster-slim
[FlowClimateBuild/Linters] ๐ Start image=node:12.6-buster-slim
[FlowClimateBuild/Deploy ] ๐ Start image=node:12.6-buster-slim
[FlowClimateBuild/Deploy ] ๐ณ docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[FlowClimateBuild/Linters] ๐ณ docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[FlowClimateBuild/Tests ] ๐ณ docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[FlowClimateBuild/Tests ] ๐ณ docker cp src=/Users/celsomartins/workspace/taller/flow_climate/. dst=/github/workspace
[FlowClimateBuild/Linters] ๐ณ docker cp src=/Users/celsomartins/workspace/taller/flow_climate/. dst=/github/workspace
[FlowClimateBuild/Deploy ] ๐ณ docker cp src=/Users/celsomartins/workspace/taller/flow_climate/. dst=/github/workspace
[FlowClimateBuild/Tests ] โญ Run Checkout code
[FlowClimateBuild/Tests ] โ
Success - Checkout code
[FlowClimateBuild/Tests ] โญ Run Setup Ruby
[FlowClimateBuild/Tests ] โ git clone 'https://github.com/ruby/setup-ruby' # ref=v1
[FlowClimateBuild/Deploy ] โญ Run actions/checkout@v2
[FlowClimateBuild/Deploy ] โ
Success - actions/checkout@v2
[FlowClimateBuild/Deploy ] โญ Run akhileshns/[email protected]
[FlowClimateBuild/Deploy ] โ git clone 'https://github.com/akhileshns/heroku-deploy' # ref=v3.5.6
[FlowClimateBuild/Linters] โญ Run Checkout code
[FlowClimateBuild/Linters] โ
Success - Checkout code
[FlowClimateBuild/Linters] โญ Run Setup Ruby
[FlowClimateBuild/Linters] โ git clone 'https://github.com/ruby/setup-ruby' # ref=v1
[FlowClimateBuild/Tests ] Unable to resolve v1: reference not found
[FlowClimateBuild/Tests ] โ Failure - Setup Ruby
Most helpful comment
This is happening with
act version 0.2.9anduses: ruby/setup-ruby@v1as well.v1is a branch in this case.Here's the reproduction https://github.com/bogn83/reproduce_act_62/blob/master/.github/workflows/ruby.yml
The logs of the successful run on GitHub's infrastructure can be found in the third step here.
Running act locally just prints: