CI tweaks

This commit is contained in:
Robin Mueller
2025-11-28 10:35:28 +01:00
parent cf9306d992
commit a7d004b299

View File

@@ -2,7 +2,7 @@ name: ci
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
check: build:
name: Check build name: Check build
strategy: strategy:
matrix: matrix:
@@ -11,7 +11,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- run: cargo check --release - run: cargo build
test: test:
name: Run Tests name: Run Tests
@@ -30,7 +30,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.83 - uses: dtolnay/rust-toolchain@1.83
- run: cargo check --release - run: cargo check
cross-check: cross-check:
name: Check Cross-Compilation name: Check Cross-Compilation
@@ -46,7 +46,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
with: with:
targets: "armv7-unknown-linux-gnueabihf, thumbv7em-none-eabihf, thumbv6m-none-eabi" targets: "armv7-unknown-linux-gnueabihf, thumbv7em-none-eabihf, thumbv6m-none-eabi"
- run: cargo check --release --target=${{matrix.target}} --no-default-features - run: cargo check --target=${{matrix.target}} --no-default-features
fmt: fmt:
name: Check formatting name: Check formatting