Changed linter version for now
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
parent
bc47aa3049
commit
848eec4fe6
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
GOOS: ${{ matrix.target_os }}
|
GOOS: ${{ matrix.target_os }}
|
||||||
GOARCH: ${{ matrix.target_arch }}
|
GOARCH: ${{ matrix.target_arch }}
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GOLANGCI_LINT_VER: "v1.51.1"
|
GOLANGCI_LINT_VER: "v1.51.0"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GOLANGCI_LINT_VER: "v1.51.1"
|
GOLANGCI_LINT_VER: "v1.51.0"
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go ${{ env.GOVER }}
|
- name: Set up Go ${{ env.GOVER }}
|
||||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ type mockClient struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (mcf *mockClientFactory) Get(metadata bindings.Metadata) (zbc.Client, error) {
|
func (mcf *mockClientFactory) Get(metadata bindings.Metadata) (zbc.Client, error) {
|
||||||
mcf.metadata = metadata //nolint:staticcheck
|
mcf.metadata = metadata
|
||||||
|
|
||||||
if mcf.error != nil {
|
if mcf.error != nil {
|
||||||
return nil, mcf.error
|
return nil, mcf.error
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue