File tree 6 files changed +53
-117
lines changed
6 files changed +53
-117
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, pull_request]
3
+ jobs :
4
+ test :
5
+ name : Test (go ${{ matrix.go_version }})
6
+ runs-on : ubuntu-latest
7
+ timeout-minutes : 10
8
+ strategy :
9
+ fail-fast : true
10
+ matrix :
11
+ go_version : [1.16, 1.17]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-go@v2
15
+ - run : make test
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ test :
2
+ go test -v -race ./...
1
3
2
4
create-iam-role :
3
5
$(MAKE ) -C cloudformation create-iam-role
Original file line number Diff line number Diff line change
1
+ module github.com/c2fo/lambda-ebs-backup
2
+
3
+ go 1.17
4
+
5
+ require (
6
+ github.com/aws/aws-lambda-go v1.6.0
7
+ github.com/aws/aws-sdk-go v1.15.70
8
+ github.com/stretchr/testify v1.2.2
9
+ )
10
+
11
+ require (
12
+ github.com/davecgh/go-spew v1.1.1 // indirect
13
+ github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8 // indirect
14
+ github.com/pmezard/go-difflib v1.0.0 // indirect
15
+ golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
16
+ )
Original file line number Diff line number Diff line change
1
+ github.com/aws/aws-lambda-go v1.6.0 h1:T+u/g79zPKw1oJM7xYhvpq7i4Sjc0iVsXZUaqRVVSOg =
2
+ github.com/aws/aws-lambda-go v1.6.0 /go.mod h1:zUsUQhAUjYzR8AuduJPCfhBuKWUaDbQiPOG+ouzmE1A =
3
+ github.com/aws/aws-sdk-go v1.15.70 h1:hlRX+jjTgzNLvH0PIt1s74vz8tZNbw+StlUz+OGFtd0 =
4
+ github.com/aws/aws-sdk-go v1.15.70 /go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM =
5
+ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
6
+ github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
7
+ github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8 h1:12VvqtR6Aowv3l/EQUlocDHW2Cp4G9WJVH7uyH8QFJE =
8
+ github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8 /go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k =
9
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
10
+ github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
11
+ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w =
12
+ github.com/stretchr/testify v1.2.2 /go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs =
13
+ golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM =
14
+ golang.org/x/net v0.0.0-20211216030914-fe4d6282115f /go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y =
15
+ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
16
+ golang.org/x/sys v0.0.0-20210423082822-04245dca01da /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
17
+ golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 /go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo =
18
+ golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M =
19
+ golang.org/x/text v0.3.6 /go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ =
20
+ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e /go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ =
You can’t perform that action at this time.
0 commit comments