Skip to content

Error with no go.sum file #427

@faisal-memon

Description

@faisal-memon

Description:
After upgrading from 4.0 to 4.1 we see the below failure:

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

We don't have a go.sum file.

Action version:
setup-go@4.1.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Go 1.21

Repro steps:
Run setup-go without a go.sum

Expected behavior:
For it to work ok as go.sum is not needed if there are no dependancies

Actual behavior:
Failure

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions