File tree Expand file tree Collapse file tree 4 files changed +25
-12
lines changed
Expand file tree Collapse file tree 4 files changed +25
-12
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ lint:
128128 $(BINPATH ) /golangci-lint run
129129
130130tidy :
131- go mod tidy
131+ ./tools/ tidy.sh
132132
133133deps :
134134 curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(BINPATH ) v1.44.2
Original file line number Diff line number Diff line change 11module github.com/firecracker-microvm/firecracker-containerd/docker-credential-mmds
22
3- go 1.17
3+ go 1.16
44
55require (
66 github.com/docker/docker-credential-helpers v0.6.4
77 github.com/stretchr/testify v1.7.1
88)
9-
10- require (
11- github.com/davecgh/go-spew v1.1.1 // indirect
12- github.com/pmezard/go-difflib v1.0.0 // indirect
13- gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 // indirect
14- )
Original file line number Diff line number Diff line change 11github.com/danieljoos/wincred v1.1.0 /go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg =
2+ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 =
23github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
3- github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
4- github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
54github.com/docker/docker-credential-helpers v0.6.4 h1:axCks+yV+2MR3/kZhAmy07yC56WZ2Pwu/fKWtKuZB0o =
65github.com/docker/docker-credential-helpers v0.6.4 /go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c =
76github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
@@ -14,6 +13,5 @@ golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7w
1413gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
1514gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
1615gopkg.in/yaml.v2 v2.2.2 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
16+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo =
1717gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
18- gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 h1:dbuHpmKjkDzSOMKAWl10QNlgaZUd3V1q99xc81tt2Kc =
19- gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License"). You may
6+ # not use this file except in compliance with the License. A copy of the
7+ # License is located at
8+ #
9+ # http://aws.amazon.com/apache2.0/
10+ #
11+ # or in the "license" file accompanying this file. This file is distributed
12+ # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+ # express or implied. See the License for the specific language governing
14+ # permissions and limitations under the License.
15+
16+ set -euo pipefail
17+
18+ for path in $( find . -name ' go.mod' | grep -v ' ^\./_submodules/' )
19+ do
20+ (cd $( dirname $path ) && pwd && go mod tidy)
21+ done
You can’t perform that action at this time.
0 commit comments