use golangci-lint-action@v2 to run golangci-lint

This commit is contained in:
Marten Seemann
2020-09-15 09:08:33 +07:00
parent 1914e5f100
commit 1c163dc1e2

View File

@@ -7,7 +7,7 @@ jobs:
- name: Check that no non-test files import Ginkgo or Gomega
run: .github/workflows/no_ginkgo.sh
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.31