golangci-lint-action
golangci-lint-action copied to clipboard
Official GitHub Action for golangci-lint from its authors
If `working-directory` is specified (e.g. in a matrix for a monorepo), the `go.mod` ends up as `nogomod` in the cache key so the same cache ends up getting used for...
As outlined in #458 the current implementation of the github action does not support additional output formats. This is especially useful to support integration with code quality tools such as...
In my repository (https://github.com/opencontainers/runc) I use two distinct linter configs: - one where all default linters, and some non-default ones, are enabled - one where only a couple of extra...
I'm trying to run the action in a sub directory of my mono repo but it seems that the caching isn't working properly meaning my linting job is always slow...
Recently I was fixing issues found by golangci-lint after updating `go.mod` in a PR for a dependency update. The PR continued to fail CI even after fixing the **staticcheck** issues...
**Context:** We have a repository which has a structure similar to ``` - root module -- pkgA submodule -- pkgB submodule -- etc... ``` `root` module has no go files....
Hi, I tried setting both `working-directory` and `only-new-issues` but got: `Error: options working-directory and only-new-issues aren't compatible` I am working on a monorepo and would like to be able to...
I have a monorepo and want run linter on `dir1` and `dir2`. How can I do it? ``` working-directory: dir1 dir2 ``` doesn't work: ``` working-directory (dir1 dir2) was not...
https://github.com/SevenTV/ServerGo/commit/cd37fe181c8f03e66687e4a0ea38a942b59fe015 Failing with unused imports and code, except the code is being used and also when running the linter before commit shows no issues.
Re-Issue of #207 after fixing CheckRun resolution. All of the same comments apply: This does a bunch... But also, not that much. In summary, it switches to using the `json`...