File tree 8 files changed +11
-21
lines changed
8 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 41
41
echo "environment-kubeconfig:" ${KUBECONFIG}
42
42
43
43
- name : Set up Go
44
- uses : actions/setup-go@v2
44
+ uses : actions/setup-go@v3
45
45
with :
46
- go-version : 1.19
46
+ go-version : " 1.20 "
47
47
48
48
- name : Build devspacehelper
49
49
run : |
Original file line number Diff line number Diff line change 19
19
steps :
20
20
- uses : actions/setup-go@v3
21
21
with :
22
- go-version : 1.19
22
+ go-version : " 1.20 "
23
23
- uses : actions/checkout@v3
24
24
- name : Run golangci-lint
25
25
uses : golangci/golangci-lint-action@v3.2.0
Original file line number Diff line number Diff line change 59
59
runs-on : macos-11
60
60
steps :
61
61
- name : Set up Go
62
- uses : actions/setup-go@v1
62
+ uses : actions/setup-go@v3
63
63
with :
64
- go-version : 1.19
64
+ go-version : " 1.20 "
65
65
- id : get_version
66
66
run : |
67
67
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
Original file line number Diff line number Diff line change 27
27
28
28
steps :
29
29
- name : Set up Go
30
- uses : actions/setup-go@v1
30
+ uses : actions/setup-go@v3
31
31
with :
32
- go-version : 1.19
32
+ go-version : " 1.20 "
33
33
34
34
- name : Check out code into the Go module directory
35
35
uses : actions/checkout@v1
43
43
44
44
steps :
45
45
- name : Set up Go
46
- uses : actions/setup-go@v1
46
+ uses : actions/setup-go@v3
47
47
with :
48
- go-version : 1.19
48
+ go-version : " 1.20 "
49
49
50
50
- name : Check out code into the Go module directory
51
51
uses : actions/checkout@v1
Original file line number Diff line number Diff line change 1
1
package e2e
2
2
3
3
import (
4
- "github.com/onsi/ginkgo/v2"
5
- "math/rand"
6
4
"testing"
7
- "time"
8
5
6
+ "github.com/onsi/ginkgo/v2"
9
7
"github.com/onsi/gomega"
10
8
11
9
// Register tests
@@ -37,7 +35,6 @@ import (
37
35
// generated in this directory, and cluster logs will also be saved.
38
36
// This function is called on each Ginkgo node in parallel mode.
39
37
func TestRunE2ETests (t * testing.T ) {
40
- rand .Seed (time .Now ().UTC ().UnixNano ())
41
38
gomega .RegisterFailHandler (ginkgo .Fail )
42
39
ginkgo .RunSpecs (t , "DevSpace e2e suite" )
43
40
}
Original file line number Diff line number Diff line change 1
1
module github.com/loft-sh/devspace
2
2
3
- go 1.19
3
+ go 1.20
4
4
5
5
require (
6
6
github.com/AlecAivazis/survey/v2 v2.3.2
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "math/rand"
5
- "time"
6
-
7
4
"github.com/loft-sh/devspace/helper/cmd"
8
5
)
9
6
10
7
func main () {
11
- rand .Seed (time .Now ().UTC ().UnixNano ())
12
8
cmd .Execute ()
13
9
}
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "math/rand"
5
4
"os"
6
- "time"
7
5
8
6
_ "k8s.io/client-go/plugin/pkg/client/auth"
9
7
@@ -14,7 +12,6 @@ import (
14
12
var version = ""
15
13
16
14
func main () {
17
- rand .Seed (time .Now ().UTC ().UnixNano ())
18
15
upgrade .SetVersion (version )
19
16
20
17
cmd .Execute ()
You can’t perform that action at this time.
0 commit comments