build: ensure component update runs with make tidy

This to include the `-compat` flag.

Signed-off-by: Hidde Beydals <hello@hidde.co>
pull/2569/head
Hidde Beydals 3 years ago
parent c85954ddef
commit 775891fc88

@ -42,8 +42,7 @@ jobs:
if [[ "${MOD_VERSION}" != "${LATEST_VERSION}" ]]; then
go mod edit -require="github.com/fluxcd/$1/api@${LATEST_VERSION}"
rm go.sum
go mod tidy
make tidy
changed=true
fi

Loading…
Cancel
Save