Forráskód Böngészése

fix: rust and flutter ci (#1643)

Co-authored-by: vedon <[email protected]>
Nathan.fooo 2 éve
szülő
commit
0e88d643cf
2 módosított fájl, 5 hozzáadás és 2 törlés
  1. 2 2
      .github/workflows/flutter_ci.yaml
  2. 3 0
      .github/workflows/rust_ci.yaml

+ 2 - 2
.github/workflows/flutter_ci.yaml

@@ -102,13 +102,13 @@ jobs:
         run: flutter analyze
 
       #Just run one platform
-      - if: $RUNNER_OS" == "Linux"
+      - if: "$RUNNER_OS" == "Linux"
         name: Build Flutter unit test lib
         working-directory: frontend
         run: |
           cargo make build-test-lib
 
-      - if: $RUNNER_OS" == "Linux"
+      - if: "$RUNNER_OS" == "Linux"
         name: Run Flutter unit tests
         working-directory: frontend/app_flowy
         run: |

+ 3 - 0
.github/workflows/rust_ci.yaml

@@ -25,6 +25,9 @@ jobs:
   test-on-ubuntu:
     runs-on: ubuntu-latest
     steps:
+      - name: Checkout source code
+        uses: actions/checkout@v2
+
       - name: Install Rust toolchain
         id: rust_toolchain
         uses: actions-rs/toolchain@v1