mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +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
|
cargo +esp xtask lint-packages --chips esp32,esp32s2,esp32s3
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Format
|
# host tests
|
||||||
|
|
||||||
rustfmt:
|
host-tests:
|
||||||
runs-on: macos-m1-self-hosted
|
runs-on: macos-m1-self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -169,19 +169,6 @@ jobs:
|
|||||||
# Check the formatting of all packages:
|
# Check the formatting of all packages:
|
||||||
- run: cargo xtask fmt-packages --check
|
- 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 tests in esp-config
|
||||||
- run: cd esp-config && cargo test --features build
|
- run: cd esp-config && cargo test --features build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user