feat: add format_rustcode.sh script

This script makes it possible to check formatting of rust code found in the various markdown files in the repo. It is also added as a job to the QC CI workflow.
This commit is contained in:
alankritdabral_2
2023-11-20 18:48:26 +05:30
committed by wucke13
parent d84efa7422
commit eb76179dc4
2 changed files with 123 additions and 0 deletions

View File

@@ -25,6 +25,14 @@ jobs:
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
rustfmt:
name: Rust Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Rust Formatting Script
run: bash format_rust_code.sh --mode check
cargo-audit:
runs-on: ubuntu-latest
steps: