From b503d311d20cd6368fbf2ab7f2dc8cbba41fb93d Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Tue, 18 Oct 2022 11:00:35 +0530 Subject: [PATCH] update lint workflow --- .github/workflows/lint.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c04629a9..63620eee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,17 +13,19 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v6.0.1 + - uses: actions/setup-go@v3 with: - SUFFIX_FILTER: | - .go - .mod - .sum + go-version: 1.18 + - uses: actions/checkout@v3 + - uses: technote-space/get-diff-action@v6.1.0 + with: + PATTERNS: | + **/**.go + go.mod + go.sum - uses: golangci/golangci-lint-action@v3 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.50.0 + version: v1.48.0 args: --timeout 10m github-token: ${{ secrets.github_token }} # Check only if there are differences in the source code