summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/format.yaml9
-rw-r--r--.github/workflows/format_push.yaml9
2 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 9415861eaa..ba0a86aa78 100644
--- a/.github/workflows/format.yaml
+++ b/.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:
diff --git a/.github/workflows/format_push.yaml b/.github/workflows/format_push.yaml
index 5a17a4d65c..4b51213b36 100644
--- a/.github/workflows/format_push.yaml
+++ b/.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: |