diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2e9ef3f..79ce01f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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