Fix formatting in various files (#42917)
This fixes various issues where rustfmt failed to format code due to too long strings, most of which I stumbled across over the last week and some additonal ones I searched for whilst fixing the others. Release Notes: - N/A
This commit is contained in:
@@ -76,21 +76,26 @@ pub(crate) fn run_tests() -> Workflow {
|
||||
jobs.push(should_run_tests.guard(check_postgres_and_protobuf_migrations())); // could be more specific here?
|
||||
|
||||
named::workflow()
|
||||
.add_event(Event::default()
|
||||
.push(
|
||||
Push::default()
|
||||
.add_branch("main")
|
||||
.add_branch("v[0-9]+.[0-9]+.x")
|
||||
)
|
||||
.pull_request(PullRequest::default().add_branch("**"))
|
||||
.add_event(
|
||||
Event::default()
|
||||
.push(
|
||||
Push::default()
|
||||
.add_branch("main")
|
||||
.add_branch("v[0-9]+.[0-9]+.x"),
|
||||
)
|
||||
.pull_request(PullRequest::default().add_branch("**")),
|
||||
)
|
||||
.concurrency(Concurrency::default()
|
||||
.group("${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}")
|
||||
.cancel_in_progress(true)
|
||||
.concurrency(
|
||||
Concurrency::default()
|
||||
.group(concat!(
|
||||
"${{ github.workflow }}-${{ github.ref_name }}-",
|
||||
"${{ github.ref_name == 'main' && github.sha || 'anysha' }}"
|
||||
))
|
||||
.cancel_in_progress(true),
|
||||
)
|
||||
.add_env(( "CARGO_TERM_COLOR", "always" ))
|
||||
.add_env(( "RUST_BACKTRACE", 1 ))
|
||||
.add_env(( "CARGO_INCREMENTAL", 0 ))
|
||||
.add_env(("CARGO_TERM_COLOR", "always"))
|
||||
.add_env(("RUST_BACKTRACE", 1))
|
||||
.add_env(("CARGO_INCREMENTAL", 0))
|
||||
.map(|mut workflow| {
|
||||
for job in jobs {
|
||||
workflow = workflow.add_job(job.name, job.job)
|
||||
|
||||
Reference in New Issue
Block a user