File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -183,26 +183,32 @@ jobs:
183
183
uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
184
184
with :
185
185
go-version-file : go.mod
186
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
186
187
187
188
- name : Check if go.mod and go.sum are up to date
188
189
run : go mod tidy && git diff --exit-code -- go.mod go.sum
190
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
189
191
190
192
- name : Check if CRDs changed
191
193
run : make update-crds && git diff --name-only --exit-code config/crd/bases
194
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
192
195
193
196
- name : Check if Codegen changed
194
197
run : |
195
198
cd ../.. && mkdir -p github.com/nginx && mv kubernetes-ingress/kubernetes-ingress github.com/nginx/ && cd github.com/nginx/kubernetes-ingress
196
199
make update-codegen && git diff --name-only --exit-code pkg/**
197
200
cd ../../.. && mv github.com/nginx/kubernetes-ingress kubernetes-ingress/kubernetes-ingress
201
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
198
202
199
203
- name : Install gofumpt
200
204
run : go install mvdan.cc/gofumpt@latest
205
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
201
206
202
207
- name : Check if telemetry schema changed
203
208
run : |
204
209
export PATH=$PATH:$(go env GOPATH)/bin
205
210
make telemetry-schema && git diff --name-only --exit-code internal/telemetry
211
+ if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
206
212
207
213
- name : Check if make docs builds
208
214
if : ${{ needs.checks.outputs.some_docs == 'true' }}
You can’t perform that action at this time.
0 commit comments