浏览代码

Checkout first, so we stay in the same working dir.

Mario Zechner 4 年之前
父节点
当前提交
526d28c03b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/format-check.yml

+ 3 - 3
.github/workflows/format-check.yml

@@ -8,6 +8,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:      
 
+    - uses: actions/checkout@v1  
+
     - name: Install OS dependencies (needed for act on ubuntu-latest)      
       run: |
         sudo apt update
@@ -32,9 +34,7 @@ jobs:
       with:
           dotnet-version: "6.0.x"      
           include-prerelease: true   
-    - run: dotnet tool install -g dotnet-format     
-
-    - uses: actions/checkout@v1  
+    - run: dotnet tool install -g dotnet-format    
           
     - name: Install Node and dependenceis    
       uses: actions/setup-node@v1