Changed linter version for now

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2023-02-17 18:02:55 +00:00
parent bc47aa3049
commit 848eec4fe6
3 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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' }}

View File

@ -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