chore: update golangci-lint
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
10a3ab9c4c
commit
22db25ef94
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ export GOBIN=$(PWD)/bin
|
||||||
LD_FLAGS="-w -X main.version=$(VERSION)"
|
LD_FLAGS="-w -X main.version=$(VERSION)"
|
||||||
|
|
||||||
# Dependency versions
|
# Dependency versions
|
||||||
GOLANGCI_VERSION = 1.40.1
|
GOLANGCI_VERSION = 1.42.0
|
||||||
|
|
||||||
PROTOC_VERSION = 3.15.6
|
PROTOC_VERSION = 3.15.6
|
||||||
PROTOC_GEN_GO_VERSION = 1.26.0
|
PROTOC_GEN_GO_VERSION = 1.26.0
|
||||||
|
|
|
@ -72,7 +72,7 @@ func TestInClusterTransport(t *testing.T) {
|
||||||
fpath := filepath.Join(os.TempDir(), "test.in_cluster")
|
fpath := filepath.Join(os.TempDir(), "test.in_cluster")
|
||||||
defer os.RemoveAll(fpath)
|
defer os.RemoveAll(fpath)
|
||||||
|
|
||||||
err = ioutil.WriteFile(fpath, []byte("def"), 0644)
|
err = ioutil.WriteFile(fpath, []byte("def"), 0o644)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
|
|
Reference in a new issue