Skip to content

Allow multiple working directories in single action run #1226

Open
@nikandfor

Description

@nikandfor

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.

Your feature request related to a problem? Please describe.

It's pretty inefficient to checkout the repo multiple times with matrix if you have multiple modules and want to run linter for all of them.

Describe the solution you'd like.

Allow setting multiple working-directories like it's done for tags, platforms, and others in docker/build-push-action.

Describe alternatives you've considered.

matrix works, but it's longer and less efficient. It spends more ci minutes and it spends more dev's time.

Additional context.

I haven't seen the code and haven't estimated the efforts needed for that feature. If it's not too much I think it would be nice feature to have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions