Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
golang-version=1.25
kind-version=v0.27.0
kind-image=kindest/node:v1.33.0
golang-version=1.26
golangci-lint=v2.12.2
kind-version=v0.31.0
kind-image=kindest/node:v1.35.1
Comment thread
dongjiang1989 marked this conversation as resolved.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v9.2.0
with:
version: v2.6.1
version: '${{ env.golangci-lint }}'
args: --timeout 10m0s

check-format:
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ linters:
exclude-functions:
- (net/http.ResponseWriter).Write
- (github.com/go-kit/log.Logger).Log
goconst:
ignore-tests: true
min-occurrences: 10
exclusions:
generated: lax
presets:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kubeservice-stack/echo

go 1.25.0
go 1.26
Comment thread
dongjiang1989 marked this conversation as resolved.

require (
github.com/KimMachineGun/automemlimit v0.7.5
Expand Down
147 changes: 77 additions & 70 deletions scripts/go.mod

Large diffs are not rendered by default.

416 changes: 170 additions & 246 deletions scripts/go.sum

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions test/framework/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
package framework

import (
"slices"
"strconv"
"strings"
"testing"
Expand Down Expand Up @@ -56,8 +57,8 @@ func (ctx *TestCtx) ID() string {
func (ctx *TestCtx) Cleanup(t *testing.T) {
var eg errgroup.Group

for i := len(ctx.cleanUpFns) - 1; i >= 0; i-- {
eg.Go(ctx.cleanUpFns[i])
for _, v := range slices.Backward(ctx.cleanUpFns) {
eg.Go(v)
}

if err := eg.Wait(); err != nil {
Expand Down
Loading