From 3d933082939ce9b201682e838d8e867488b1ec82 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Sat, 27 Nov 2021 09:55:28 +0800 Subject: [PATCH] Update ci.yaml add Clippy check --- .github/workflows/ci.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b687d70647..42a8e1a8b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,7 +5,20 @@ on: pull_request: branches: [main] jobs: - lint: + rust-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + components: clippy + override: true + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features + flutter-lint: name: flutter analyze runs-on: ubuntu-latest steps: