title |
---|
Contributing Workflow |
By participating to this project, you agree to abide our code of conduct.
golangci-lint
is written in Go.
Prerequisites:
make
- Go 1.13+
Fork and clone golangci-lint repository.
A good way of making sure everything is all right is running the following:
make build
./golangci-lint run -v
When you are satisfied with the changes, we suggest you run:
$ make test
Which runs all the linters and tests.
Add your new or updated parameters to .golangci.example.yml
so they will be shown in the docs
Push your branch to your golangci-lint
fork and open a pull request against the
master
branch.
First, please, accept CLA - cla assistant will make a comment on the pull request about it.
Also, we run a few checks in CI by using GitHub actions, you can see them here.
First, see our versioning policy.
To make a new release create a tag vx.y.z
. Don't forget to add zero patch version for a new minor release, e.g. v1.99.0
.
A GitHub action workflow will start building and publishing release after that.
After making a release you need to update:
- GitHub action config by running:
make assets/github-action-config.json
- The latest version in documentation on our website:
make expand_website_templates