Skip to content

cache upload hangs for 2 minutes after work is doneΒ #984

@DavidS-ovm

Description

@DavidS-ovm

Welcome

  • Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).

Description of the problem

The action hangs for 2 minutes after uploading the cache for no apparent reason.

See this example from the golanci-lint main repo:

2024-02-23_09MS+0100_1416x524

  • This is not specific to golangci/golangci-lint setup, I've originally found this in my repos.
  • When re-running the job (in my repo), the cache does not get uploaded and the delay vanishes.

Version of golangci-lint

golangci-lint-1.56.2-linux-amd64

Version of the GitHub Action

v4.0.0

Workflow file

see https://github.com/golangci/golangci-lint/actions/runs/8005893870/workflow

Go version

go version go1.22.0 linux/amd64

Code example or link to a public repository

https://github.com/golangci/golangci-lint

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions