Skip to content

Commit 972f931

Browse files
committed
ci: dtbs: restore cache after creating venv
1 parent eb8f9ae commit 972f931

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/dtbs_check.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515

16-
- name: Cache dt-schema
17-
uses: actions/cache@v4
18-
with:
19-
path: |
20-
~/.cache/dtschema
21-
.venv/lib/python*/site-packages/dtschema
22-
key: ${{ runner.os }}-dtschema-${{ github.ref_name }}
23-
2416
- name: Install dependencies
2517
run: |
2618
sudo apt update
@@ -33,6 +25,14 @@ jobs:
3325
pip install --upgrade pip
3426
pip install dtschema
3527
28+
- name: Cache dt-schema
29+
uses: actions/cache@v4
30+
with:
31+
path: |
32+
~/.cache/dtschema
33+
.venv/lib/python*/site-packages/dtschema
34+
key: ${{ runner.os }}-dtschema-${{ github.ref_name }}
35+
3636
- name: Run DT binding check
3737
shell: bash
3838
run: |

0 commit comments

Comments
 (0)