mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 16:41:47 +00:00
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:
parent
c85954ddef
commit
775891fc88
1 changed files with 1 additions and 2 deletions
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue