From 3ff9a5dfd6f29c47dba76cdf682770462d4017b2 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 27 Mar 2021 13:32:36 +0100 Subject: [PATCH] Always use latest version of golangci-lint --- .github/workflows/lint.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e917f47..6249b5b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,7 @@ name: lint -on: [push, pull_request] +on: + push: + pull_request: jobs: golangci: @@ -10,11 +12,7 @@ jobs: - name: golangci-lint 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.30 # Optional: golangci-lint command line arguments. args: --issues-exit-code=0 - # Optional: working directory, useful for monorepos - # working-directory: somedir # Optional: show only new issues if it's a pull request. The default value is `false`. only-new-issues: true