Преглед на файлове

Update ci.yaml

add Clippy check
AppFlowy.IO преди 3 години
родител
ревизия
3d93308293
променени са 1 файла, в които са добавени 14 реда и са изтрити 1 реда
  1. 14 1
      .github/workflows/ci.yaml

+ 14 - 1
.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: