From 4bbc95b6a269bf48e4d1abc2f8562476651fcdc5 Mon Sep 17 00:00:00 2001 From: k-nasa Date: Mon, 30 Sep 2019 09:54:59 +0900 Subject: [PATCH] fix --- .github/workflows/ci.yml | 2 +- .github/workflows/clippy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8cc2f60..ff7e485c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: run: | rustup default nightly rustup component add rustfmt - cargo install mdbook + test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh rustc --version - name: mdbook run: | diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 136557fb..aa7b2d97 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -11,7 +11,7 @@ jobs: component: clippy - uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: ${{ steps.component.outputs.toolchain }} override: true - run: rustup component add clippy - uses: actions-rs/clippy-check@v1