|
6 | 6 | push: |
7 | 7 | branches: |
8 | 8 | - main |
9 | | - - dev |
| 9 | + - "dev*" # Explicity include branches with "dev" in the name (e.g., dev, dev-feature, etc.) |
10 | 10 | pull_request: |
11 | 11 | branches: |
12 | 12 | - main |
@@ -34,17 +34,10 @@ jobs: |
34 | 34 | - uses: actions/checkout@v4 |
35 | 35 |
|
36 | 36 | - name: Set up Python 3.11 |
37 | | - uses: actions/setup-python@v3 |
| 37 | + uses: actions/setup-python@v5 |
38 | 38 | with: |
39 | 39 | python-version: "3.11" |
40 | | - |
41 | | - - name: Cache pip dependencies |
42 | | - uses: actions/cache@v3 |
43 | | - with: |
44 | | - path: ~/.cache/pip |
45 | | - key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} |
46 | | - restore-keys: | |
47 | | - ${{ runner.os }}-pip- |
| 40 | + cache: "pip" |
48 | 41 |
|
49 | 42 | - name: Install dependencies |
50 | 43 | run: | |
@@ -100,17 +93,10 @@ jobs: |
100 | 93 | uses: actions/checkout@v4 |
101 | 94 |
|
102 | 95 | - name: Set up Python ${{ matrix.python-version }} |
103 | | - uses: actions/setup-python@v3 |
| 96 | + uses: actions/setup-python@v5 |
104 | 97 | with: |
105 | 98 | python-version: ${{ matrix.python-version }} |
106 | | - |
107 | | - - name: Cache pip dependencies |
108 | | - uses: actions/cache@v3 |
109 | | - with: |
110 | | - path: ~/.cache/pip |
111 | | - key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} |
112 | | - restore-keys: | |
113 | | - ${{ runner.os }}-pip- |
| 99 | + cache: "pip" |
114 | 100 |
|
115 | 101 | - name: Install dependencies |
116 | 102 | run: | |
@@ -153,7 +139,7 @@ jobs: |
153 | 139 | - uses: actions/checkout@v4 |
154 | 140 |
|
155 | 141 | - name: Set up Python 3.12 |
156 | | - uses: actions/setup-python@v3 |
| 142 | + uses: actions/setup-python@v5 |
157 | 143 | with: |
158 | 144 | python-version: "3.12" |
159 | 145 |
|
@@ -186,17 +172,10 @@ jobs: |
186 | 172 | uses: actions/checkout@v4 |
187 | 173 |
|
188 | 174 | - name: Set up Python 3.11 |
189 | | - uses: actions/setup-python@v3 |
| 175 | + uses: actions/setup-python@v5 |
190 | 176 | with: |
191 | 177 | python-version: "3.11" |
192 | | - |
193 | | - - name: Cache pip dependencies |
194 | | - uses: actions/cache@v3 |
195 | | - with: |
196 | | - path: ~/.cache/pip |
197 | | - key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} |
198 | | - restore-keys: | |
199 | | - ${{ runner.os }}-pip- |
| 178 | + cache: "pip" |
200 | 179 |
|
201 | 180 | - name: Install dependencies |
202 | 181 | run: | |
@@ -353,17 +332,10 @@ jobs: |
353 | 332 | uses: actions/checkout@v4 |
354 | 333 |
|
355 | 334 | - name: Set up Python ${{ matrix.python-version }} |
356 | | - uses: actions/setup-python@v3 |
| 335 | + uses: actions/setup-python@v5 |
357 | 336 | with: |
358 | 337 | python-version: ${{ matrix.python-version }} |
359 | | - |
360 | | - - name: Cache pip dependencies |
361 | | - uses: actions/cache@v3 |
362 | | - with: |
363 | | - path: ~/.cache/pip |
364 | | - key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} |
365 | | - restore-keys: | |
366 | | - ${{ runner.os }}-pip- |
| 338 | + cache: "pip" |
367 | 339 |
|
368 | 340 | - name: Install dependencies |
369 | 341 | run: | |
|
0 commit comments