File tree 7 files changed +8
-9
lines changed
7 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
id : go
20
20
uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
21
21
with :
22
- go-version : ' 1.23 '
22
+ go-version : ' 1.24 '
23
23
check-latest : true
24
24
25
25
- name : golangci-lint
26
26
uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
27
27
with :
28
- version : v1.63
28
+ version : v1.64
Original file line number Diff line number Diff line change 32
32
id : go
33
33
uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
34
34
with :
35
- go-version : ' 1.23 '
35
+ go-version : ' 1.24 '
36
36
check-latest : true
37
37
38
38
- uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
Original file line number Diff line number Diff line change 26
26
id : go
27
27
uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
28
28
with :
29
- go-version : ' 1.23 '
29
+ go-version : ' 1.24 '
30
30
check-latest : true
31
31
32
32
- name : Install bom
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ linters:
83
83
- staticcheck
84
84
- stylecheck
85
85
- tagalign
86
- - tenv
87
86
- testableexamples
88
87
- testifylint
89
88
- tparallel
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ func newSUT(t *testing.T) *sut {
49
49
// global .gitconfig. This means we're silently assuming that we're running
50
50
// inside a container with the actual $HOME of `/root`.
51
51
if ! env .IsSet ("HOME" ) {
52
- os .Setenv ("HOME" , "/root" )
52
+ t .Setenv ("HOME" , "/root" )
53
53
}
54
54
55
55
// A local k/k repo will be our test base
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies:
70
70
# match: "GO_VERSION: '\\d+.\\d+(alpha|beta|rc)?\\.?(\\d+)?'"
71
71
72
72
- name : " golang: 1.<major> (github workflows)"
73
- version : 1.23
73
+ version : 1.24
74
74
refPaths :
75
75
- path : .github/workflows/release.yml
76
76
match : " go-version: '\\ d+.\\ d+'"
@@ -459,7 +459,7 @@ dependencies:
459
459
460
460
# golangci-lint-version
461
461
- name : " golangci-lint"
462
- version : v1.63
462
+ version : v1.64
463
463
refPaths :
464
464
- path : .github/workflows/lint.yml
465
465
match : " version: v\\ d+.\\ d+?\\ .?(\\ d+)?"
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func TestGetToolRefSuccess(t *testing.T) {
52
52
53
53
for _ , tc := range testcases {
54
54
t .Logf ("Test case: %s" , tc .name )
55
- require . NoError ( t , os .Setenv ("TOOL_REF" , tc .ref ) )
55
+ t .Setenv ("TOOL_REF" , tc .ref )
56
56
57
57
actual := GetToolRef ()
58
58
require .Equal (t , tc .expected , actual )
You can’t perform that action at this time.
0 commit comments