Prepare v2.0.0 (#40)

This commit is contained in:
Sergey Vilgelm
2020-07-15 12:18:02 -05:00
committed by GitHub
parent ba40dc6b1d
commit c238b72278
6 changed files with 29 additions and 37 deletions

View File

@ -7,6 +7,12 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
![GitHub Annotations](./static/annotations.png)
## Compatibility
* `v2.0.0` works with `golangci-lint` version >= `v1.28.3`
* `v1.2.2` is deprecated due to we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
* `v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
## How to use
Add `.github/workflows/golangci-lint.yml` with the following contents:
@ -30,8 +36,8 @@ jobs:
uses: golangci/golangci-lint-action@v1
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.26
version: v1.28
# Optional: working directory, useful for monorepos
# working-directory: somedir