Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Check rustfmt before build
Browse files Browse the repository at this point in the history
Ensure the formatting is up to date before going through the rest of the
build.

Signed-off-by: David Brown <[email protected]>
d3zd3z committed Jan 17, 2025

Verified

This commit was signed with the committer’s verified signature.
1 parent 13818ad commit a5e1477
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -68,6 +68,18 @@ jobs:
rm renode_${RENODE_VERSION}_amd64.deb
pip3 install -r /opt/renode/tests/requirements.txt --no-cache-dir
- name: Check formatting
working-directory: apptest
shell: bash
run: |
for name in $(find . -name Cargo.toml); do
name=$(dirname $name)
echo "Checking formatting of $name"
cd $name
cargo --check
cd -
done
- name: Build firmware
working-directory: apptest
shell: bash

0 comments on commit a5e1477

Please sign in to comment.