mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2026-02-03 07:15:54 +00:00
ci: install nightly toolchain for nightly rustfmt
This commit is contained in:
parent
5279b87a7a
commit
71c0ca1d60
3 changed files with 61 additions and 58 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue