From cd84e14701d348b58e0e05b1a6d0c21ab3a8e836 Mon Sep 17 00:00:00 2001 From: Nikolay Eskov Date: Fri, 9 Feb 2024 01:26:43 +0300 Subject: [PATCH] Bump golangci/golangci-lint-action from v2 to v3 Bumps golangci/golangci-lint-action from v2 to v3. --- .github/workflows/go.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0b22ba93b..52bab6aa9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,5 +1,5 @@ name: build -on: [ push, pull_request ] +on: [ push, pull_request, workflow_dispatch ] jobs: golangci: @@ -24,13 +24,13 @@ jobs: - name: Get dependencies run: go mod vendor - name: golangci-lint-soft - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: latest args: -c .golangci.yml # Strict linter configuration, only checking new code from pull requests. - name: golangci-lint-strict - run: golangci-lint run -c .golangci-strict.yml --new-from-rev=origin/master --out-format=github-actions + run: golangci-lint run -c .golangci-strict.yml --new-from-rev=origin/master --out-format=github-actions,line-number build: name: ubuntu @@ -46,7 +46,7 @@ jobs: cache: true - name: Set up GolangCI-Lint - run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $HOME/bin v1.53.3 + run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $HOME/bin v1.56.1 - name: Check out code into the Go module directory uses: actions/checkout@v4 @@ -99,4 +99,3 @@ jobs: path: build/logs/ if-no-files-found: warn retention-days: 5 -