+ toml_fmt:
+ group: format
+ image: tamasfe/taplo:0.8.1
+ commands:
+ - taplo format --check
+
+ sql_fmt:
+ group: format
+ image: backplane/pgformatter:latest
+ commands:
+ - ./scripts/sql_format_check.sh
+
+ cargo_fmt:
+ group: format
+ image: *muslrust_image
+ environment:
+ # store cargo data in repo folder so that it gets cached between steps
+ CARGO_HOME: .cargo
+ commands:
+ # need make existing toolchain available
+ - cp -n ~/.cargo . -r
+ - rustup toolchain install nightly-2023-07-10 --no-self-update --profile minimal --component rustfmt
+ - cargo +nightly-2023-07-10 fmt -- --check
+