mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #14392 from cenkalti/golangci-lint-github-action
Setup golangci-lint GitHub action
This commit is contained in:
commit
30d5f0a8f9
4
.github/workflows/static-analysis.yaml
vendored
4
.github/workflows/static-analysis.yaml
vendored
@ -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…
x
Reference in New Issue
Block a user