Skip to content

Commit e552b4d

Browse files
cxlblmaldas
authored andcommitted
CI: add Go 1.27 to CI
1 parent 4ec116d commit e552b4d

3 files changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
contents: read # to fetch code (actions/checkout)
1414

1515
env:
16-
LATEST_GO_VERSION: "1.26"
16+
LATEST_GO_VERSION: "1.27"
1717

1818
# https://github.com/actions/checkout/commit/df4cb1c069e1874edd31b4311f1884172cec0e10
1919
CHECKOUT_ACTION: &checkout_action actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

.github/workflows/echo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
contents: read # to fetch code (actions/checkout)
1414

1515
env:
16-
LATEST_GO_VERSION: "1.26"
16+
LATEST_GO_VERSION: "1.27"
1717

1818
# https://github.com/actions/checkout/commit/df4cb1c069e1874edd31b4311f1884172cec0e10
1919
CHECKOUT_ACTION: &checkout_action actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
@@ -33,7 +33,7 @@ jobs:
3333
# Echo tests with last four major releases (unless there are pressing vulnerabilities)
3434
# As we depend on `golang.org/x/` libraries which only support the last 2 Go releases, we could have situations when
3535
# we derive from the last four major releases promise.
36-
go: ["1.25", "1.26"]
36+
go: ["1.25", "1.26", "1.27"]
3737
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
3838
runs-on: ${{ matrix.os }}
3939
steps:

route_test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,6 @@ func TestHandlerName(t *testing.T) {
6666
}
6767
}
6868

69-
func TestHandlerName_differentFuncSameName(t *testing.T) {
70-
handlerCreator := func(name string) HandlerFunc {
71-
return func(c *Context) error {
72-
return c.String(http.StatusTeapot, name)
73-
}
74-
}
75-
h1 := handlerCreator("name1")
76-
assert.Equal(t, "github.com/labstack/echo/v5.TestHandlerName_differentFuncSameName.TestHandlerName_differentFuncSameName.func1.func2", HandlerName(h1))
77-
78-
h2 := handlerCreator("name2")
79-
assert.Equal(t, "github.com/labstack/echo/v5.TestHandlerName_differentFuncSameName.TestHandlerName_differentFuncSameName.func1.func3", HandlerName(h2))
80-
}
81-
8269
func TestRoute_ToRouteInfo(t *testing.T) {
8370
var testCases = []struct {
8471
expect RouteInfo

0 commit comments

Comments
 (0)