File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 4848 go-version : ${{ env.GO_VERSION }}
4949 cache : false # The golangci-lint action does its own caching.
5050
51+ - name : Check go mod tidy
52+ run : go mod tidy && git diff --exit-code go.mod go.sum
53+
5154 - name : Lint
5255 uses : golangci/golangci-lint-action@v6
5356 with :
7073 # We want to build most packages for the amd64 and arm64 architectures. To
7174 # speed this up we build single-platform packages in parallel. We then upload
7275 # 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.
7477 build :
7578 runs-on : ubuntu-22.04
7679 strategy :
@@ -108,13 +111,13 @@ jobs:
108111 build-args :
109112 GO_VERSION=${{ env.GO_VERSION }}
110113 outputs : type=docker,dest=runtime-${{ matrix.arch }}.tar
111-
114+
112115 - name : Setup the Crossplane CLI
113116 run : " curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
114117
115118 - name : Build Package
116119 run : ./crossplane xpkg build --package-file=${{ matrix.arch }}.xpkg --package-root=package/ --embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar
117-
120+
118121 - name : Upload Single-Platform Package
119122 uses : actions/upload-artifact@v4
120123 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=
281281google.golang.org/grpc v1.61.0 /go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs =
282282google.golang.org/protobuf v1.26.0-rc.1 /go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw =
283283google.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 =
286284google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg =
287285google.golang.org/protobuf v1.34.2 /go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw =
288286gopkg.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=
312310k8s.io/klog/v2 v2.110.1 /go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo =
313311k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780 =
314312k8s.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 =
317313k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A =
318314k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
319315sigs.k8s.io/controller-runtime v0.17.0 h1:fjJQf8Ukya+VjogLO6/bNX9HE6Y2xpsO5+fyS26ur/s =
Original file line number Diff line number Diff line change 22 "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
33 "extends" : [
44 " config:base"
5+ ],
6+ "postUpdateOptions" : [
7+ " gomodTidy" ,
8+ " gomodUpdateImportPaths"
59 ]
610}
You can’t perform that action at this time.
0 commit comments