Skip to content

Some specified paths were not resolved, unable to cache dependencies. #602

Closed
@pronebird

Description

@pronebird

Description:
Caching does not seem to work on Ubuntu, the following warning is printed on each run:

Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.

Workflow

- name: Install Go
   uses: actions/setup-go@v5
   with:
     go-version: 1.23.6
     cache-dependency-path: go/junkyard/go.sum

Action version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
go1.23.6

Repro steps:
Add setup-go to workflow, specify path to go.sum via cache-dependency-path key.

Expected behavior:
No warning, working cache

Actual behavior:
Caching is not working

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions