diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 71dcf77e..d2ba2e15 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,10 +13,12 @@ jobs: # compilation. Put another way: after a successful `cargo build`, `cargo # clippy` is guaranteed to produce no results. This bug is known upstream: # https://github.com/rust-lang/rust-clippy/issues/2604. - - name: Clippy - run: cargo clippy -- --all-targets --all-features -- -D warnings +# - name: Clippy +# run: cargo clippy -- --all-targets --all-features -- -D warnings - name: Check formatting - run: cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"') + run: | + rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt + cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"') - name: Build run: cargo build --verbose - name: Run tests