File tree 3 files changed +10
-7
lines changed
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 48
48
go-version : ${{ env.GO_VERSION }}
49
49
cache : false # The golangci-lint action does its own caching.
50
50
51
+ - name : Check go mod tidy
52
+ run : go mod tidy && git diff --exit-code go.mod go.sum
53
+
51
54
- name : Lint
52
55
uses : golangci/golangci-lint-action@v6
53
56
with :
70
73
# We want to build most packages for the amd64 and arm64 architectures. To
71
74
# speed this up we build single-platform packages in parallel. We then upload
72
75
# those packages to GitHub as a build artifact. The push job downloads those
73
- # artifacts and pushes them as a single multi-platform package.
76
+ # artifacts and pushes them as a single multi-platform package.
74
77
build :
75
78
runs-on : ubuntu-22.04
76
79
strategy :
@@ -108,13 +111,13 @@ jobs:
108
111
build-args :
109
112
GO_VERSION=${{ env.GO_VERSION }}
110
113
outputs : type=docker,dest=runtime-${{ matrix.arch }}.tar
111
-
114
+
112
115
- name : Setup the Crossplane CLI
113
116
run : " curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
114
117
115
118
- name : Build Package
116
119
run : ./crossplane xpkg build --package-file=${{ matrix.arch }}.xpkg --package-root=package/ --embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar
117
-
120
+
118
121
- name : Upload Single-Platform Package
119
122
uses : actions/upload-artifact@v4
120
123
with :
Original file line number Diff line number Diff line change @@ -281,8 +281,6 @@ google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0=
281
281
google.golang.org/grpc v1.61.0 /go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs =
282
282
google.golang.org/protobuf v1.26.0-rc.1 /go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw =
283
283
google.golang.org/protobuf v1.26.0 /go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc =
284
- google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg =
285
- google.golang.org/protobuf v1.34.1 /go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos =
286
284
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg =
287
285
google.golang.org/protobuf v1.34.2 /go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw =
288
286
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
@@ -312,8 +310,6 @@ k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
312
310
k8s.io/klog/v2 v2.110.1 /go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo =
313
311
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780 =
314
312
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 /go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA =
315
- k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 h1:jgGTlFYnhF1PM1Ax/lAlxUPE+KfCIXHaathvJg1C3ak =
316
- k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
317
313
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A =
318
314
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
319
315
sigs.k8s.io/controller-runtime v0.17.0 h1:fjJQf8Ukya+VjogLO6/bNX9HE6Y2xpsO5+fyS26ur/s =
Original file line number Diff line number Diff line change 2
2
"$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3
3
"extends" : [
4
4
" config:base"
5
+ ],
6
+ "postUpdateOptions" : [
7
+ " gomodTidy" ,
8
+ " gomodUpdateImportPaths"
5
9
]
6
10
}
You can’t perform that action at this time.
0 commit comments