diff options
author | Valery Piashchynski <[email protected]> | 2021-02-11 14:06:10 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-11 14:06:10 +0300 |
commit | 8f6cafdc0948a5ea13bf9a811b576aa4b3ef7e4a (patch) | |
tree | 92727c3ff8087597bac65eee2c26c9484c98be7f /.github/workflows/linters.yml | |
parent | 7978c59f0ed286912bfcaec81b76e54532b1a9bf (diff) | |
parent | 509abc76a0f7b88678de67843ca79d9052ad8dd6 (diff) |
Merge pull request #530 from spiral/release_stabilizationv2.0.0-RC.1
stabilization(RC): rc stabilization
Diffstat (limited to '.github/workflows/linters.yml')
-rw-r--r-- | .github/workflows/linters.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml new file mode 100644 index 00000000..8829ffe4 --- /dev/null +++ b/.github/workflows/linters.yml @@ -0,0 +1,25 @@ +name: Linters + +on: + push: + pull_request: + branches: + # Branches from forks have the form 'user:branch-name' so we only run + # this job on pull_request events for branches that look like fork + # branches. Without this we would end up running this job twice for non + # forked PRs, once for the push and then once for opening the PR. + - "**:**" + +jobs: + golangci-lint: + name: Golang-CI (lint) + runs-on: ubuntu-20.04 + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Run linter + uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action> + with: + version: v1.35 # without patch version + only-new-issues: false # show only new issues if it's a pull request |