build: ensure component update runs with make tidy
This to include the `-compat` flag. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
3
.github/workflows/update.yaml
vendored
3
.github/workflows/update.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user