Setup golangci-lint GitHub action.
Part of "Enhance the static-analysis workflow" issue. #14164 Signed-off-by: Cenk Alti <cenkalti@gmail.com>dependabot/go_modules/go.uber.org/atomic-1.10.0
parent
eb25e433cd
commit
66d37aaf1d
|
@ -13,6 +13,10 @@ jobs:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: "1.17.8"
|
go-version: "1.17.8"
|
||||||
|
- name: golangci-lint
|
||||||
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
version: v1.49.0
|
||||||
- run: date
|
- run: date
|
||||||
- env:
|
- env:
|
||||||
TARGET: ${{ matrix.target }}
|
TARGET: ${{ matrix.target }}
|
||||||
|
|
|
@ -96,4 +96,4 @@ commit using message with a more generic `*:` prefix.
|
||||||
|
|
||||||
We recommend that you install [golangci-lint](https://golangci-lint.run/usage/install/) and run `make lint`.
|
We recommend that you install [golangci-lint](https://golangci-lint.run/usage/install/) and run `make lint`.
|
||||||
|
|
||||||
Very soon we will have a GitHub action to run our linters.
|
We also have a GitHub action to run our linters on every pull request.
|
||||||
|
|
Loading…
Reference in New Issue