File tree 6 files changed +13
-10
lines changed
6 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -17,33 +17,36 @@ jobs:
17
17
- ' 1.19.x'
18
18
- ' 1.20.x'
19
19
- ' 1.21.x'
20
+ - ' 1.22.x'
21
+ - ' 1.23.x'
20
22
platform : [ubuntu-latest]
21
23
22
24
name : test
23
25
runs-on : ${{ matrix.platform }}
24
26
25
27
steps :
26
28
- name : checkout the code
27
- uses : actions/checkout@v3
29
+ uses : actions/checkout@v4
28
30
29
31
- name : setup go
30
- uses : actions/setup-go@v3
32
+ uses : actions/setup-go@v5
31
33
with :
32
34
go-version : ${{ matrix.go-version }}
33
35
34
36
- name : unshallow
35
37
run : git fetch --prune --unshallow
36
38
37
39
- name : golanci-linter
38
- uses : golangci/golangci-lint-action@v3
40
+ uses : golangci/golangci-lint-action@v6
39
41
with :
40
- version : v1.54.2
42
+ version : v1.60.3
41
43
42
44
- name : run unit tests
43
45
run : make test
44
46
45
47
- name : upload code coverage
46
- uses : codecov/codecov-action@v3.1.4
48
+ uses : codecov/codecov-action@v4
47
49
if : contains(github.ref, 'main')
48
50
with :
51
+ token : ${{ secrets.CODECOV_TOKEN }}
49
52
file : ./cover.out
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ func TestCharmLogWithSkipper(t *testing.T) {
67
67
ec := reqCtx (t )
68
68
69
69
config := DefaultCharmLogConfig
70
- config .Skipper = func (c echo.Context ) bool {
70
+ config .Skipper = func (echo.Context ) bool {
71
71
return true
72
72
}
73
73
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func TestLogrusWithSkipper(t *testing.T) {
70
70
ec := reqCtx (t )
71
71
72
72
config := DefaultLogrusConfig
73
- config .Skipper = func (c echo.Context ) bool {
73
+ config .Skipper = func (echo.Context ) bool {
74
74
return true
75
75
}
76
76
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ func TestOpenCensusWithSkipper(t *testing.T) {
23
23
ec := reqCtx (t )
24
24
25
25
config := DefaultOpenCensusConfig
26
- config .Skipper = func (c echo.Context ) bool {
26
+ config .Skipper = func (echo.Context ) bool {
27
27
return true
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ func TestZapLogWithSkipper(t *testing.T) {
72
72
ec := reqCtx (t )
73
73
74
74
config := DefaultZapLogConfig
75
- config .Skipper = func (c echo.Context ) bool {
75
+ config .Skipper = func (echo.Context ) bool {
76
76
return true
77
77
}
78
78
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ func TestZeroLogWithSkipper(t *testing.T) {
69
69
ec := reqCtx (t )
70
70
71
71
config := DefaultZeroLogConfig
72
- config .Skipper = func (c echo.Context ) bool {
72
+ config .Skipper = func (echo.Context ) bool {
73
73
return true
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments