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