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
Cenk Alti 2022-08-27 14:06:11 -04:00
parent eb25e433cd
commit 66d37aaf1d
No known key found for this signature in database
GPG Key ID: 6626D49238188AA8
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,10 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.49.0
- run: date
- env:
TARGET: ${{ matrix.target }}

View File

@ -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`.
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.