mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-29 21:30:39 +00:00
Run rustfmt as part of the host tests (#3683)
This commit is contained in:
parent
077fc22305
commit
d8f7ded78c
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user