File tree Expand file tree Collapse file tree 7 files changed +9
-29
lines changed
Expand file tree Collapse file tree 7 files changed +9
-29
lines changed Original file line number Diff line number Diff line change @@ -3,33 +3,21 @@ name: Build and test
33on : [push, pull_request]
44
55env :
6- GOLANGCI_LINT_VERSION : v1.54.2
6+ GOLANGCI_LINT_VERSION : v1.59.1
77
88jobs :
99 build :
10- runs-on : ubuntu-20.04
10+ runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
1313 go-version : [stable, oldstable]
1414
1515 steps :
16- - name : Set up Go ${{ matrix.go-version }}
17- uses : actions/setup-go@v3
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-go@v5
1818 with :
1919 go-version : ${{ matrix.go-version }}
2020
21- - name : Check out code
22- uses : actions/checkout@v2
23-
24- - name : Cache Go modules
25- uses : actions/cache@v3
26- with :
27- path : |
28- ~/pkg/mod
29- ~/.cache/go-build
30- key : ${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}
31- restore-keys : ${{ runner.os }}-${{ matrix.go-version }}-go-
32-
3321 - name : Download and check dependencies
3422 run : |
3523 go mod tidy
Original file line number Diff line number Diff line change 11run :
22 timeout : 5m
3- skip-files : [ ]
4- skip-dirs : [ ]
53
64linters-settings :
75 govet :
@@ -73,7 +71,7 @@ linters:
7371 - gocyclo
7472 - godot
7573 - godox
76- - goerr113
74+ - err113
7775 - gofmt
7876 - gofumpt
7977 - goheader
@@ -111,7 +109,7 @@ linters:
111109
112110issues :
113111 exclude-use-default : false
114- max-per-linter : 0
112+ max-issues- per-linter : 0
115113 max-same-issues : 0
116114 exclude : [ ]
117115 exclude-rules :
Original file line number Diff line number Diff line change 55require (
66 github.com/kvtools/valkeyrie v1.0.0
77 github.com/redis/go-redis/v9 v9.2.1
8- github.com/stretchr/testify v1.8.4
8+ github.com/stretchr/testify v1.9.0
99)
1010
1111require (
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
1616github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
1717github.com/redis/go-redis/v9 v9.2.1 h1:WlYJg71ODF0dVspZZCpYmoF1+U1Jjk9Rwd7pq6QmlCg =
1818github.com/redis/go-redis/v9 v9.2.1 /go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M =
19- github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
20- github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
19+ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
20+ github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
2121gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
2222gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo =
2323gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
Original file line number Diff line number Diff line change 1- version : " 3.9"
2-
31# when running test local, you can specify the image version using the env var REDIS_VERSION.
42# Example: REDIS_VERSION=7.0.5 make
53
Original file line number Diff line number Diff line change 1- version : " 3.9"
2-
31# when running test local, you can specify the image version using the env var REDIS_VERSION.
42# Example: REDIS_VERSION=7.0.5 make
53
Original file line number Diff line number Diff line change 1- version : " 3.9"
2-
31# when running test local, you can specify the image version using the env var REDIS_VERSION.
42# Example: REDIS_VERSION=7.0.5 make
53
You can’t perform that action at this time.
0 commit comments