Run rustfmt as part of the host tests (#3683)

This commit is contained in:
Dániel Buga 2025-06-24 11:57:32 +02:00 committed by GitHub
parent 077fc22305
commit d8f7ded78c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,9 +151,9 @@ jobs:
cargo +esp xtask lint-packages --chips esp32,esp32s2,esp32s3
# --------------------------------------------------------------------------
# Format
# host tests
rustfmt:
host-tests:
runs-on: macos-m1-self-hosted
steps:
@ -169,19 +169,6 @@ jobs:
# Check the formatting of all packages:
- run: cargo xtask fmt-packages --check
# --------------------------------------------------------------------------
# host tests
host-tests:
runs-on: macos-m1-self-hosted
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
# Run tests in esp-config
- run: cd esp-config && cargo test --features build