Skip to content

Commit def8f6b

Browse files
authored
feat: update GitHub Actions workflow for improved compatibility
Update GitHub Actions workflow for improved stability and compatibility - **Specify Ubuntu version:** Changed `runs-on` from `ubuntu-latest` to `ubuntu-22.04` to ensure consistency and avoid unexpected updates that might break the build. - **Expand Python version matrix:** Added Python 3.13 to the testing matrix to include the latest version. - **Upgrade checkout action:** Updated `actions/checkout` from `v3` to `v4` for improved security and performance. - **Upgrade setup-python action:** Updated `actions/setup-python` from `v4` to `v5` for better caching and compatibility with newer Python versions.
1 parent 9e67e7a commit def8f6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
jobs:
1010
build:
1111

12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
strategy:
1414
matrix:
15-
python-version: [3.9, 3.10, 3.11, 3.12]
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@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies

0 commit comments

Comments
 (0)