ci: check fmt with nightly toolchain

This commit is contained in:
Christian Visintin
2026-03-21 10:58:31 +01:00
parent 14704f4439
commit 1bd990bca7

View File

@@ -22,6 +22,12 @@ jobs:
- uses: actions/checkout@v6
- name: Install dependencies
run: sudo apt update && sudo apt install -y libdbus-1-dev libsmbclient-dev
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt, clippy
- name: Format
run: cargo +nightly fmt --all -- --check
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
@@ -31,7 +37,5 @@ jobs:
with:
command: test
args: --no-default-features --features github-actions --no-fail-fast
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -Dwarnings