dev/ci: replace check/all.sh with sg lint
Created by: bobheadxi
Currently done via a custom lint target that matches check/all.sh exactly. We can start splitting linting tasks out in follow-ups.
Closes https://github.com/sourcegraph/sourcegraph/issues/33363
Test plan
CI passes