Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies file is not found in /home/runner/work/mysql-parser/mysql-parser. Supported file pattern: go.sum #281

Closed
2 of 5 tasks
chenquan opened this issue Oct 23, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@chenquan
Copy link

chenquan commented Oct 23, 2022

Description:

Dependencies file is not found in /home/runner/work/mysql-parser/mysql-parser. Supported file pattern: go.sum
link:https://github.com/chenquan/mysql-parser/actions/runs/3306781870/jobs/5457927152
image

Action version:
actions/setup-go@v3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

Expected behavior:
A description of what you expected to happen.

Actual behavior:
A description of what is actually happening.

@chenquan chenquan added bug Something isn't working needs triage labels Oct 23, 2022
@chenquan chenquan changed the title Supported file pattern: go.s um Supported file pattern: go.sum Oct 23, 2022
@chenquan chenquan changed the title Supported file pattern: go.sum Dependencies file is not found in /home/runner/work/mysql-parser/mysql-parser. Supported file pattern: go.sum Oct 23, 2022
@dmitry-shibanov
Copy link
Contributor

Hello @chenquan. Thank you for your report. We'll investigate the issue. As a possible solution you can try to use cache-dependency-path to specify path to go.sum.

@chenquan
Copy link
Author

Hello @chenquan. Thank you for your report. We'll investigate the issue. As a possible solution you can try to use cache-dependency-path to specify path to go.sum.

Hi~ It still doesn't work when I specify a path.
https://github.com/chenquan/mysql-parser/actions/runs/3306809761/jobs/5457972883

@dmitry-shibanov
Copy link
Contributor

Could you please place actions/checkout before actions/setup-go ?

@chenquan
Copy link
Author

Could you please placeactions/checkoutbeforeactions/setup-go ?

oh, I ignored the question. Thx

@chenquan
Copy link
Author

done

anoopcs9 added a commit to anoopcs9/go-ceph that referenced this issue Sep 6, 2023
By placing actions/checkout before actions/setup-go[1] we could avoid
the following warning message:

Warning: Restore cache failed: Dependencies file is not found in
/home/runner/work/go-ceph/go-ceph. Supported file pattern: go.sum

[1] actions/setup-go#281

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
anoopcs9 added a commit to anoopcs9/go-ceph that referenced this issue Sep 6, 2023
By placing actions/checkout before actions/setup-go[1] we could avoid
the following warning message:

Warning: Restore cache failed: Dependencies file is not found in
/home/runner/work/go-ceph/go-ceph. Supported file pattern: go.sum

[1] actions/setup-go#281

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
mergify bot pushed a commit to ceph/go-ceph that referenced this issue Sep 6, 2023
By placing actions/checkout before actions/setup-go[1] we could avoid
the following warning message:

Warning: Restore cache failed: Dependencies file is not found in
/home/runner/work/go-ceph/go-ceph. Supported file pattern: go.sum

[1] actions/setup-go#281

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants