File tree Expand file tree Collapse file tree 5 files changed +9
-25
lines changed
Expand file tree Collapse file tree 5 files changed +9
-25
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 .1
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 :
@@ -74,7 +72,7 @@ linters:
7472 - gocyclo
7573 - godot
7674 - godox
77- - goerr113
75+ - err113
7876 - gofmt
7977 - gofumpt
8078 - goheader
@@ -112,7 +110,7 @@ linters:
112110
113111issues :
114112 exclude-use-default : false
115- max-per-linter : 0
113+ max-issues- per-linter : 0
116114 max-same-issues : 0
117115 exclude : [ ]
118116 exclude-rules :
Original file line number Diff line number Diff line change 55require (
66 github.com/aws/aws-sdk-go v1.44.91
77 github.com/kvtools/valkeyrie v1.0.0
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 @@ -17,8 +17,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
1717github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
1818github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
1919github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
20- github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
21- github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
20+ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
21+ github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
2222golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd /go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk =
2323golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
2424golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
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 DYNAMODB_VERSION.
42# Example: DYNAMODB_VERSION=1.18.0 make
53
You can’t perform that action at this time.
0 commit comments