瀏覽代碼

Use actions/checkout@v2 in ci.yml

Kentaro Wada 4 年之前
父節點
當前提交
4e46e00f29
共有 1 個文件被更改,包括 3 次插入6 次删除
  1. 3 6
      .github/workflows/ci.yml

+ 3 - 6
.github/workflows/ci.yml

@@ -28,18 +28,15 @@ jobs:
             PYTEST_QT_API: pyqt4v2
 
     steps:
-    - uses: actions/checkout@v1
+    - uses: actions/checkout@v2
+      with:
+        submodules: true
 
     - uses: goanpeca/setup-miniconda@v1
       with:
         auto-update-conda: true
         python-version: ${{ matrix.python-version }}
 
-    - name: Update submodules
-      shell: bash -l {0}
-      run: |
-        git submodule update --init --recursive
-
     - name: Install system dependencies
       shell: bash -l {0}
       run: |