Skip to content

Commit

Permalink
Merge pull request #1061 from marquiz/devel/golang-ci-lint
Browse files Browse the repository at this point in the history
scripts/test-infra: bump golangci-lint to v1.51.1
  • Loading branch information
k8s-ci-robot authored Feb 16, 2023
2 parents d1eb3c5 + cc57fa6 commit c007c9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/test-infra/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Install deps
gobinpath="$(go env GOPATH)/bin"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.49.0
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.51.1
export PATH=$PATH:$(go env GOPATH)/bin

curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.7.1
Expand Down
3 changes: 0 additions & 3 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ package e2e
import (
"flag"
"fmt"
"math/rand"
"os"
"testing"
"time"

"k8s.io/kubernetes/test/e2e"
"k8s.io/kubernetes/test/e2e/framework"
Expand Down Expand Up @@ -63,7 +61,6 @@ func TestMain(m *testing.M) {
testfiles.AddFileSource(testfiles.RootFileSource{Root: framework.TestContext.RepoRoot})
}

rand.Seed(time.Now().UnixNano())
os.Exit(m.Run())
}

Expand Down

0 comments on commit c007c9e

Please sign in to comment.