From cc5726afb8fde7a8d8e0f748257f11249a18cb59 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Tue, 8 Dec 2020 12:54:25 +0000 Subject: [PATCH] Fix YAML syntax --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85d03cce039..8fa83c4979c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,8 @@ jobs: override: true run: cargo install cargo-deadlinks - name: doc (rand) - env: RUSTDOCFLAGS: --cfg doc_cfg + env: + RUSTDOCFLAGS: --cfg doc_cfg # --all builds all crates, but with default features for other crates (okay in this case) run: cargo deadlinks --ignore-fragments -- --all --features nightly,serde1,getrandom,small_rng @@ -47,10 +48,10 @@ jobs: toolchain: ${{ matrix.toolchain }} override: true - name: Maybe minimal - if ${{ matrix.minimal }} + if: ${{ matrix.minimal }} run: cargo generate-lockfile -Z minimal-versions - name: Maybe nightly - if ${{ matrix.toolchain == 'nightly' }} + if: ${{ matrix.toolchain == 'nightly' }} run: | cargo test --tests --features=nightly cargo test --all-features