mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
Merge pull request #1061 from marquiz/devel/golang-ci-lint
scripts/test-infra: bump golangci-lint to v1.51.1
This commit is contained in:
commit
c007c9eccf
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue