File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and test
33on : [push, pull_request]
44
55env :
6- GOLANGCI_LINT_VERSION : v2.0.2
6+ GOLANGCI_LINT_VERSION : v2.11
77
88jobs :
99 build :
@@ -13,22 +13,19 @@ jobs:
1313 go-version : [stable, oldstable]
1414
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-go@v5
16+ - uses : actions/checkout@v6
17+ - uses : actions/setup-go@v6
1818 with :
1919 go-version : ${{ matrix.go-version }}
2020
2121 - name : Download and check dependencies
2222 run : |
23- go mod tidy
24- git diff --exit-code go.mod
25- git diff --exit-code go.sum
23+ go mod tidy --diff
2624
2725 - name : Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
28- run : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
29-
30- - name : Install golangci-lint
31- run : make validate
26+ uses : golangci/golangci-lint-action@v9.0.0
27+ with :
28+ version : ${{ env.GOLANGCI_LINT_VERSION }}
3229
3330 - name : Run tests
3431 run : make test
Original file line number Diff line number Diff line change 44
55require (
66 github.com/kvtools/valkeyrie v1.0.0
7- github.com/stretchr/testify v1.10.0
7+ github.com/stretchr/testify v1.11.1
88)
99
1010require (
Original file line number Diff line number Diff line change @@ -2,15 +2,17 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
22github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
33github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
44github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs =
5+ github.com/kr/pretty v0.2.0 /go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI =
56github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY =
67github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
78github.com/kvtools/valkeyrie v1.0.0 h1:LAITop2wPoYCMitR24GZZsW0b57hmI+ePD18VRTtOf0 =
89github.com/kvtools/valkeyrie v1.0.0 /go.mod h1:bDi/OdhJCSbGPMsCgUQl881yuEweKCSItAtTBI+ZjpU =
910github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
1011github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
11- github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA =
12- github.com/stretchr/testify v1.10.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
12+ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U =
13+ github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
1314gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
1415gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo =
16+ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
1517gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
1618gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments