pub fn check( repo: &Path, exit_on_red: bool, run: bool, platform: &str, offline: bool, attest: Vec<String>, ) -> ExitCode