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
|
if [[ "${MOD_VERSION}" != "${LATEST_VERSION}" ]]; then
|
||||||
go mod edit -require="github.com/fluxcd/$1/api@${LATEST_VERSION}"
|
go mod edit -require="github.com/fluxcd/$1/api@${LATEST_VERSION}"
|
||||||
rm go.sum
|
make tidy
|
||||||
go mod tidy
|
|
||||||
changed=true
|
changed=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user