From 848eec4fe615028eedd5713f9224ec49280c6566 Mon Sep 17 00:00:00 2001 From: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Date: Fri, 17 Feb 2023 18:02:55 +0000 Subject: [PATCH] Changed linter version for now Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> --- .github/workflows/components-contrib-all.yml | 2 +- .github/workflows/components-contrib.yml | 2 +- bindings/zeebe/command/command_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/components-contrib-all.yml b/.github/workflows/components-contrib-all.yml index 156d91a50..f120c3f17 100644 --- a/.github/workflows/components-contrib-all.yml +++ b/.github/workflows/components-contrib-all.yml @@ -66,7 +66,7 @@ jobs: GOOS: ${{ matrix.target_os }} GOARCH: ${{ matrix.target_arch }} GOPROXY: https://proxy.golang.org - GOLANGCI_LINT_VER: "v1.51.1" + GOLANGCI_LINT_VER: "v1.51.0" strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] diff --git a/.github/workflows/components-contrib.yml b/.github/workflows/components-contrib.yml index ba043858f..cb17e82ce 100644 --- a/.github/workflows/components-contrib.yml +++ b/.github/workflows/components-contrib.yml @@ -32,7 +32,7 @@ jobs: GOOS: linux GOARCH: amd64 GOPROXY: https://proxy.golang.org - GOLANGCI_LINT_VER: "v1.51.1" + GOLANGCI_LINT_VER: "v1.51.0" steps: - name: Set up Go ${{ env.GOVER }} if: ${{ steps.skip_check.outputs.should_skip != 'true' }} diff --git a/bindings/zeebe/command/command_test.go b/bindings/zeebe/command/command_test.go index 6f4c5f747..8f9579166 100644 --- a/bindings/zeebe/command/command_test.go +++ b/bindings/zeebe/command/command_test.go @@ -38,7 +38,7 @@ type mockClient struct { } func (mcf *mockClientFactory) Get(metadata bindings.Metadata) (zbc.Client, error) { - mcf.metadata = metadata //nolint:staticcheck + mcf.metadata = metadata if mcf.error != nil { return nil, mcf.error