ci: install nightly toolchain for nightly rustfmt

This commit is contained in:
drendog 2026-01-24 05:41:04 +01:00
parent 5279b87a7a
commit 71c0ca1d60
Signed by: dwenya
GPG key ID: 8DD77074645332D0
3 changed files with 61 additions and 58 deletions

View file

@ -30,7 +30,12 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
components: clippy
- name: Install Rust nightly toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Cache cargo registry
uses: actions/cache@v4

View file

@ -21,7 +21,6 @@ pub(crate) mod logger {
#[cfg(feature = "log")]
pub use log::{debug, error, info, warn};
#[cfg(feature = "tracing")]
pub use tracing::{debug, error, info, warn};
}

View file

@ -66,7 +66,6 @@ pub(crate) mod logger {
#[cfg(feature = "log")]
pub use log::{debug, error, info, warn};
#[cfg(feature = "tracing")]
pub use tracing::{debug, error, info, warn};
}