File tree Expand file tree Collapse file tree 8 files changed +11
-21
lines changed
Expand file tree Collapse file tree 8 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 4141 echo "environment-kubeconfig:" ${KUBECONFIG}
4242
4343 - name : Set up Go
44- uses : actions/setup-go@v2
44+ uses : actions/setup-go@v3
4545 with :
46- go-version : 1.19
46+ go-version : " 1.20 "
4747
4848 - name : Build devspacehelper
4949 run : |
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/setup-go@v3
2121 with :
22- go-version : 1.19
22+ go-version : " 1.20 "
2323 - uses : actions/checkout@v3
2424 - name : Run golangci-lint
2525 uses : golangci/golangci-lint-action@v3.2.0
Original file line number Diff line number Diff line change 5959 runs-on : macos-11
6060 steps :
6161 - name : Set up Go
62- uses : actions/setup-go@v1
62+ uses : actions/setup-go@v3
6363 with :
64- go-version : 1.19
64+ go-version : " 1.20 "
6565 - id : get_version
6666 run : |
6767 RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
Original file line number Diff line number Diff line change 2727
2828 steps :
2929 - name : Set up Go
30- uses : actions/setup-go@v1
30+ uses : actions/setup-go@v3
3131 with :
32- go-version : 1.19
32+ go-version : " 1.20 "
3333
3434 - name : Check out code into the Go module directory
3535 uses : actions/checkout@v1
4343
4444 steps :
4545 - name : Set up Go
46- uses : actions/setup-go@v1
46+ uses : actions/setup-go@v3
4747 with :
48- go-version : 1.19
48+ go-version : " 1.20 "
4949
5050 - name : Check out code into the Go module directory
5151 uses : actions/checkout@v1
Original file line number Diff line number Diff line change 11package e2e
22
33import (
4- "github.com/onsi/ginkgo/v2"
5- "math/rand"
64 "testing"
7- "time"
85
6+ "github.com/onsi/ginkgo/v2"
97 "github.com/onsi/gomega"
108
119 // Register tests
@@ -37,7 +35,6 @@ import (
3735// generated in this directory, and cluster logs will also be saved.
3836// This function is called on each Ginkgo node in parallel mode.
3937func TestRunE2ETests (t * testing.T ) {
40- rand .Seed (time .Now ().UTC ().UnixNano ())
4138 gomega .RegisterFailHandler (ginkgo .Fail )
4239 ginkgo .RunSpecs (t , "DevSpace e2e suite" )
4340}
Original file line number Diff line number Diff line change 11module github.com/loft-sh/devspace
22
3- go 1.19
3+ go 1.20
44
55require (
66 github.com/AlecAivazis/survey/v2 v2.3.2
Original file line number Diff line number Diff line change 11package main
22
33import (
4- "math/rand"
5- "time"
6-
74 "github.com/loft-sh/devspace/helper/cmd"
85)
96
107func main () {
11- rand .Seed (time .Now ().UTC ().UnixNano ())
128 cmd .Execute ()
139}
Original file line number Diff line number Diff line change 11package main
22
33import (
4- "math/rand"
54 "os"
6- "time"
75
86 _ "k8s.io/client-go/plugin/pkg/client/auth"
97
@@ -14,7 +12,6 @@ import (
1412var version = ""
1513
1614func main () {
17- rand .Seed (time .Now ().UTC ().UnixNano ())
1815 upgrade .SetVersion (version )
1916
2017 cmd .Execute ()
You can’t perform that action at this time.
0 commit comments