chore(ci) omit tests from license scan
What this PR does / why we need it:
Removes the test directory before initiating the license scan, to omit test-only dependencies from license reports.
We include our application and its tests in the same repo. The tests aren't compiled into any release artifacts, so it doesn't make sense to include them in the license report we ship with those artifacts. They're also the source of a fair number of license issue reports that we need to investigate and ignore.
Per FOSSA, there's no Go-specific functionality to ignore certain build tags, but deleting those files has the same effect, and we conveniently have those under the same directory (not units, but they're not usually the source of spurious reports because they usually don't add dependencies their package didn't already have).
See test.txt for a POC example with some extra ls calls thrown into the job.
Added go mod tidy as well and had to rearrange some stuff outside of test that linked to test (it was a package that was only used by stuff under /test, I think we had it elsewhere because we didn't have an internal directory under test/ earlier).
This breaks in act for some reason, so https://github.com/rainest/kubernetes-ingress-controller/runs/7657773046?check_suite_focus=true
Closed pending feedback from legal.