I've worked on JS projects where we set a maximum line number on files. It worked well -- it was a gentle reminder that a module had grown and would benefit from splitting up.
(I think this would definitely work in other languages, but probably with a higher line threshold.)
Moving all my elisp projects from Travis to GitHub actions has been a hassle, although it's getting easier with practice.
I ported emacs-racer today: https://github.com/racer-rust/emacs-racer/blob/master/.github/workflows/test.yml
I've learnt the hard way that it's worth testing your code both with and without byte-compilation too.