diff options
| author | Joel Challis <git@zvecr.com> | 2022-02-22 18:24:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-22 18:24:18 +0000 |
| commit | 5330d0888dd10bfbdb55196d0713db344e0c3fbb (patch) | |
| tree | b7ffa237c679e21493a34dded4236e1bcbbbdef6 | |
| parent | 7646e567bdf7119899a32f50cc0bad6d957b4f6d (diff) | |
| download | qmk_firmware-5330d0888dd10bfbdb55196d0713db344e0c3fbb.tar.gz qmk_firmware-5330d0888dd10bfbdb55196d0713db344e0c3fbb.zip | |
Install extra CLI dependencies that are missing (#16426)
* Install extra CLI dependencies that are missing
* dos2unix is part of base container
| -rw-r--r-- | .github/workflows/format.yaml | 9 | ||||
| -rw-r--r-- | .github/workflows/format_push.yaml | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 9415861ea..ba0a86aa7 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml | |||
| @@ -19,15 +19,14 @@ jobs: | |||
| 19 | container: qmkfm/qmk_cli | 19 | container: qmkfm/qmk_cli |
| 20 | 20 | ||
| 21 | steps: | 21 | steps: |
| 22 | - name: Install dependencies | ||
| 23 | run: | | ||
| 24 | apt-get update && apt-get install -y dos2unix | ||
| 25 | pip3 install -r requirements-dev.txt | ||
| 26 | |||
| 27 | - uses: actions/checkout@v2 | 22 | - uses: actions/checkout@v2 |
| 28 | with: | 23 | with: |
| 29 | fetch-depth: 0 | 24 | fetch-depth: 0 |
| 30 | 25 | ||
| 26 | - name: Install dependencies | ||
| 27 | run: | | ||
| 28 | pip3 install -r requirements-dev.txt | ||
| 29 | |||
| 31 | - uses: trilom/file-changes-action@v1.2.4 | 30 | - uses: trilom/file-changes-action@v1.2.4 |
| 32 | id: file_changes | 31 | id: file_changes |
| 33 | with: | 32 | with: |
diff --git a/.github/workflows/format_push.yaml b/.github/workflows/format_push.yaml index 5a17a4d65..4b51213b3 100644 --- a/.github/workflows/format_push.yaml +++ b/.github/workflows/format_push.yaml | |||
| @@ -13,15 +13,14 @@ jobs: | |||
| 13 | container: qmkfm/qmk_cli | 13 | container: qmkfm/qmk_cli |
| 14 | 14 | ||
| 15 | steps: | 15 | steps: |
| 16 | - name: Install dependencies | ||
| 17 | run: | | ||
| 18 | apt-get update && apt-get install -y dos2unix | ||
| 19 | pip3 install -r requirements-dev.txt | ||
| 20 | |||
| 21 | - uses: actions/checkout@v2 | 16 | - uses: actions/checkout@v2 |
| 22 | with: | 17 | with: |
| 23 | fetch-depth: 0 | 18 | fetch-depth: 0 |
| 24 | 19 | ||
| 20 | - name: Install dependencies | ||
| 21 | run: | | ||
| 22 | pip3 install -r requirements-dev.txt | ||
| 23 | |||
| 25 | - name: Run qmk formatters | 24 | - name: Run qmk formatters |
| 26 | shell: 'bash {0}' | 25 | shell: 'bash {0}' |
| 27 | run: | | 26 | run: | |
