Skip to content

Commit 68b387d

Browse files
committed
some fixes to actions
don't cache pip if we don't pip install anything fix check_powi action name
1 parent c89e334 commit 68b387d

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/check_powi.yml

+2-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- development
1111

1212
jobs:
13-
check-ifdefs:
13+
check-powi:
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -21,16 +21,7 @@ jobs:
2121
- name: Setup Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.10'
25-
26-
- name: Cache pip
27-
uses: actions/cache@v4
28-
with:
29-
# this path is specific to Ubuntu
30-
path: ~/.cache/pip
31-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
32-
restore-keys: |
33-
${{ runner.os }}-pip-
24+
python-version: '3.11'
3425

3526
- name: Run check_powi
3627
run: |

.github/workflows/docs-test.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0
22+
2423
- name: Install pandoc and doxygen
2524
run: |
2625
sudo apt install pandoc doxygen
2726
2827
- name: Setup Python
2928
uses: actions/setup-python@v5
3029
with:
31-
python-version: '3.10'
30+
python-version: '3.11'
3231
cache: "pip"
3332

3433
- name: Install dependencies

0 commit comments

Comments
 (0)