golangci-lint-action
golangci-lint-action copied to clipboard
Official GitHub Action for golangci-lint from its authors
### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...
Github actions pulling `golangci-lint` 1.48 result in the error: ``` run golangci-lint Running [/home/runner/golangci-lint-1.48.0-linux-amd64/golangci-lint run --out-format=github-actions --path-prefix=mydir] in [/home/runner/work/mydir] ... Error: File is not `gofmt`-ed with `-s` (gofmt) Error: File...
Locally I'm running the following command to lint all go modules in the repository: ``` find -name go.mod -execdir go run github.com/golangci/golangci-lint/cmd/golangci-lint run --timeout=5m \; ``` Can we add a...
Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 3.0.0 to 3.0.1. Changelog Sourced from @actions/cache's changelog. 3.0.0 Updated actions/cache to suppress Actions cache server error and log warning for those error #1122 3.0.1 Fix #833...
This will solve some problems related to the Go version and it will allow using non-released versions.
The golangci-lint-action doesn't work when `only-new-issues: true` is specified, but the pull request was created from a private fork repository to a private repository. See more why you would need...
Currently the `only-new-issues` options only works on PR events. This allows it to work on `push` events by fetching the repo's `default_branch` and using it as the base for comparison.
Like [golangci.com](https://golangci.com) has worked. How annotations look now:  They look similar to comments, but they don't appear in the comments list and on main page of a pull request.
Greetings, Thanks for the excellent tool. I am using golangci-lint-action for the first time and my files are being linted correctly. However, after every run, it says the following in...
Trying to use this in my github action. Works fine when I run it on local machine, but on push to github, fails like this: ``` Running [/home/runner/golangci-lint-1.40.1-linux-amd64/golangci-lint run --out-format=github-actions]...