Format generated Rust code

Change-Id: I75d43d3280d2353d5038b6bce714a186bd9cf956
This commit is contained in:
Artem Goncharov 2025-03-25 12:50:16 +01:00
parent a6002e661b
commit e0f1e9c0b2

View File

@ -35,6 +35,11 @@
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty"
chdir: "{{ rust_project_dir }}"
- name: "Format generated code"
ansible.builtin.command:
cmd: "cargo fmt"
chdir: "{{ rust_project_dir }}"
- name: "Compile new code (only generated crates)"
ansible.builtin.command:
cmd: "cargo build -p openstack_sdk -p openstack_cli -p openstack_tui"