Browse Source

Install extra CLI dependencies that are missing (#16426)

* Install extra CLI dependencies that are missing

* dos2unix is part of base container
Joel Challis 4 years ago
parent
commit
5330d0888d
2 changed files with 8 additions and 10 deletions
  1. 4 5
      .github/workflows/format.yaml
  2. 4 5
      .github/workflows/format_push.yaml

+ 4 - 5
.github/workflows/format.yaml

@@ -19,15 +19,14 @@ jobs:
     container: qmkfm/qmk_cli
 
     steps:
-    - name: Install dependencies
-      run: |
-        apt-get update && apt-get install -y dos2unix
-        pip3 install -r requirements-dev.txt
-
     - uses: actions/checkout@v2
       with:
         fetch-depth: 0
 
+    - name: Install dependencies
+      run: |
+        pip3 install -r requirements-dev.txt
+
     - uses: trilom/file-changes-action@v1.2.4
       id: file_changes
       with:

+ 4 - 5
.github/workflows/format_push.yaml

@@ -13,15 +13,14 @@ jobs:
     container: qmkfm/qmk_cli
 
     steps:
-    - name: Install dependencies
-      run: |
-        apt-get update && apt-get install -y dos2unix
-        pip3 install -r requirements-dev.txt
-
     - uses: actions/checkout@v2
       with:
         fetch-depth: 0
 
+    - name: Install dependencies
+      run: |
+        pip3 install -r requirements-dev.txt
+
     - name: Run qmk formatters
       shell: 'bash {0}'
       run: |