Skip to content

Commit 8ffe164

Browse files
committed
fix(ci): upgrade actions and Python versions
- Upgrade actions/checkout from v3 to v5 - Upgrade actions/setup-python from v3 to v6 - Remove Python 3.8 (not available on ubuntu-latest) - Add Python 3.12 and 3.13 to test matrix - Update publish workflow to use Python 3.9 Fixes pip cache 400 error caused by outdated actions/setup-python@v3
1 parent b656004 commit 8ffe164

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ['3.8', '3.9', '3.10', '3.11']
15+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v5
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
cache: 'pip'

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v5
1818
- name: Set up Python
19-
uses: actions/setup-python@v3
19+
uses: actions/setup-python@v6
2020
with:
21-
python-version: '3.8'
21+
python-version: '3.9'
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)