-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
(from @timfallmk - #74 (comment))
I don't want to hijack the conversation, and I don't know if this belongs here or in a separate issue, so please yell at me if necessary 😄 .
When I attempt to run a workflow with a setup-go action in it, the necessary config files are not found:
Workflow files: https://github.com/ksync/ksync/blob/master/.github/workflows/test.yml
git remote -v
origin https://github.com/ksync/ksync (fetch)
origin https://github.com/ksync/ksync (push)
act -P ubuntu-18.04=nektos/act-environments-ubuntu:18.04
[Tests/Run tests] ⭐ Run actions/setup-go@v1
[Tests/Run tests] ☁ git clone 'https://github.com/actions/setup-go' # ref=v1
[Tests/Run tests] 🐳 docker pull node:12-alpine
[Tests/Run tests] 🐳 docker run image=node:12-alpine entrypoint=[] cmd=["node" "/github/home//setup-go454447292/lib/setup-go.js"]
| internal/modules/cjs/loader.js:985
| throw err;
| ^
|
| Error: Cannot find module '/github/home/setup-go454447292/lib/setup-go.js'
| at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
| at Function.Module._load (internal/modules/cjs/loader.js:864:27)
| at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
| at internal/main/run_main_module.js:18:47 {
| code: 'MODULE_NOT_FOUND',
| requireStack: []
| }
[Tests/Run tests] ❌ Failure - actions/setup-go@v1
Error: exit with `FAILURE`: 1I've also tried with the default environment and got the same result. I'm not sure if I'm understanding this right, but it seems like a default config file might need to be copied into the node image (in this case). Is this something that would be in the default runner?
act --version
act version 0.2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels