From f8f5b7c2337d4a5c7902aaed9a47a5d44ff5e127 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Sat, 27 Nov 2021 10:09:38 +0800 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1edf63c5fb..98370b5773 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,15 +8,19 @@ jobs: rust-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v1 + - id: component + uses: actions-rs/components-nightly@v1 + with: + component: clippy - uses: actions-rs/toolchain@v1 with: - toolchain: nightly - components: clippy + toolchain: ${{ steps.component.outputs.toolchain }} override: true + - run: rustup component add clippy + working-directory: frontend/rust-lib - uses: actions-rs/clippy-check@v1 with: - working-directory: frontend/rust-lib token: ${{ secrets.GITHUB_TOKEN }} args: --all-features