actions / setup-go

Set up your GitHub Actions workflow with a specific version of Go
MIT License
1.41k stars 531 forks source link

Ever time I try to set it up it cancels work flow #482

Closed Tirzahgarcia closed 4 months ago

Tirzahgarcia commented 5 months ago

https://github.com/Tirzahgarcia/Tirzahgarcia/actions/runs/9327388380

matthewhughes934 commented 5 months ago

The linked failure is on a run of actions/setup-node@v3 as you configured here: https://github.com/Tirzahgarcia/Tirzahgarcia/blob/454299d8351498c8b67517d52ae8c1d8a59e24d2/.github/workflows/azure-webapps-node.yml#L40, the repo for that action is: https://github.com/actions/setup-node). This is the actions/setup-go repo

priya-kinthali commented 4 months ago

Hello @Tirzahgarcia 👋, Thank you for raising this issue. It looks like the error you are encountering is related to the setup-node action rather than the setup-go action. The error message indicates that a dependencies lock file (such as package-lock.json, npm-shrinkwrap.json, or yarn.lock) is not found in your repository's working directory. To resolve this issue, please ensure that you have one of the supported lock files (package-lock.json, npm-shrinkwrap.json, or yarn.lock) present in the root directory of your repository or the directory specified in your workflow. It is also important to commit this lock file to your repository to ensure consistent dependency management across different environments. For more details, please refer to the setup-node documentation.

priya-kinthali commented 4 months ago

Hello @Tirzahgarcia! As this error pertains to the setup-node action rather than the setup-go action, please consider raising this issue in the setup-node repository if you encounter any further problems. We will proceed with closing this issue here. Thank you for your understanding:)