mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Setup golangci-lint GitHub action.
Part of "Enhance the static-analysis workflow" issue. #14164 Signed-off-by: Cenk Alti <cenkalti@gmail.com>
This commit is contained in:
parent
eb25e433cd
commit
66d37aaf1d
4
.github/workflows/static-analysis.yaml
vendored
4
.github/workflows/static-analysis.yaml
vendored
@ -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 }}
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user