Skip to content

Commit 23d4344

Browse files
committed
coding guidelines
Signed-off-by: Anas Nashif <[email protected]>
1 parent fc9ea7a commit 23d4344

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/coding_guidelines.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ jobs:
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
fetch-depth: 0
1818

19+
- name: Set up Python
20+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
21+
with:
22+
python-version: 3.12
23+
1924
- name: cache-pip
2025
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
2126
with:
2227
path: ~/.cache/pip
23-
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
28+
key: ${{ hashFiles('scripts/requirements-actions.txt') }}
29+
restore-keys: |
30+
${{ hashFiles('scripts/requirements-actions.txt') }}
2431
25-
- name: Install python dependencies
32+
- name: install-packages
2633
run: |
27-
pip install unidiff
28-
pip install sh
34+
pip install -r scripts/requirements-actions.txt
2935
3036
- name: Install Packages
3137
run: |

0 commit comments

Comments
 (0)