install components in ci
This commit is contained in:
parent
fa744216bd
commit
7d1c5099a0
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -32,7 +32,9 @@ jobs:
|
||||
with:
|
||||
toolchain: "1.59.0"
|
||||
|
||||
- run: cargo fmt --all -- --check
|
||||
- run: |
|
||||
rustup component add clippy
|
||||
cargo fmt --all -- --check
|
||||
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -44,7 +46,9 @@ jobs:
|
||||
with:
|
||||
toolchain: "1.59.0"
|
||||
|
||||
- run: cargo clippy --features=macro -- -D warnings
|
||||
- run: |
|
||||
rustup component add rustfmt
|
||||
cargo clippy --features=macro -- -D warnings
|
||||
|
||||
boostrap:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -18,8 +18,7 @@ bench = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
# To build locally:
|
||||
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open
|
||||
all-features = true
|
||||
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --no-deps --open
|
||||
rustdoc-args = ["--cfg", "doc_cfg"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -4,6 +4,7 @@ use std::{cell::RefCell, collections::HashSet, path::PathBuf};
|
||||
|
||||
use grass_compiler::StdFs;
|
||||
use proc_macro::TokenStream;
|
||||
#[cfg(not(feature = "nightly"))]
|
||||
use quote::format_ident;
|
||||
use syn::{parse_macro_input, LitStr};
|
||||
|
||||
|
@ -25,8 +25,7 @@ bench = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
# To build locally:
|
||||
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open
|
||||
all-features = true
|
||||
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --no-deps --open
|
||||
rustdoc-args = ["--cfg", "doc_cfg"]
|
||||
|
||||
[dependencies]
|
||||
|
Loading…
x
Reference in New Issue
Block a user