Switch order of test and check-generated
Switch order of test and check-generated

As `test` modifies `go.mod` and `check-generated` restores it,
ultimately restoring the git state to a clean working tree.

This is a hotfix as `bin/helm/update_codegen.sh` has only a limited
lifetime left in this repository.

weaveworks/flux,weaveworks/flux