mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 14:21:14 +00:00
fix linters & switch to official linter (#4808)
This commit is contained in:
15
.github/workflows/lint.yaml
vendored
15
.github/workflows/lint.yaml
vendored
@@ -1,13 +1,14 @@
|
||||
name: Lint
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
golangci-lint:
|
||||
golangci:
|
||||
name: golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: golangci-lint
|
||||
uses: reviewdog/action-golangci-lint@master
|
||||
- uses: actions/checkout@v2
|
||||
- uses: golangci/golangci-lint-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
reporter: github-pr-review
|
||||
golangci_lint_flags: "--timeout 30m"
|
||||
# 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
|
||||
args: --timeout 10m
|
||||
github-token: ${{ secrets.github_token }}
|
||||
|
||||
Reference in New Issue
Block a user