@@ -13,17 +13,17 @@ jobs:
1313 runs-on : ${{ matrix.os }}
1414 strategy :
1515 matrix :
16- os : [ubuntu-latest, macos-13 , windows-latest]
16+ os : [ubuntu-latest, macos-latest , windows-latest]
1717 python-version : ["3.9", "3.10", "3.11", "3.12"]
1818 defaults :
1919 run :
2020 shell : bash
2121
2222 steps :
23- - uses : actions/checkout@v4
23+ - uses : actions/checkout@v5
2424 - name : Set up Python ${{ matrix.python-version }}
2525 id : setup-python
26- uses : actions/setup-python@v5
26+ uses : actions/setup-python@v6
2727 with :
2828 python-version : ${{ matrix.python-version }}
2929 - name : Install Poetry
3232 virtualenvs-create : true
3333 virtualenvs-in-project : true
3434 installer-parallel : true
35- - name : Load cached venv
36- id : cached-poetry-dependencies
37- uses : actions/cache@v4
38- with :
39- path : .venv
40- key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
4135 - name : Install dependencies
42- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4336 run : poetry install --no-interaction --no-root
4437 - name : Install machine
4538 run : poetry install --no-interaction
5043 - name : Lint with isort
5144 run : poetry run isort . --check-only
5245 - name : Setup Node for pyright
53- uses : actions/setup-node@v4
46+ uses : actions/setup-node@v6
5447 with :
55- node-version : " 14 "
48+ node-version : " 24 "
5649 - name : Lint with pyright
5750 run : |
5851 npm install -g pyright@1.1.400
@@ -72,10 +65,10 @@ jobs:
7265 runs-on : ubuntu-latest
7366
7467 steps :
75- - uses : actions/checkout@v4
68+ - uses : actions/checkout@v5
7669 - name : Set up Python 3.9
7770 id : setup-python
78- uses : actions/setup-python@v5
71+ uses : actions/setup-python@v6
7972 with :
8073 python-version : " 3.9"
8174 - name : Install Poetry
@@ -84,16 +77,10 @@ jobs:
8477 virtualenvs-create : true
8578 virtualenvs-in-project : true
8679 installer-parallel : true
87- - name : Load cached venv
88- id : cached-poetry-dependencies
89- uses : actions/cache@v4
90- with :
91- path : .venv
92- key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
9380 - name : Build
9481 run : poetry build
9582 - name : Upload package
96- uses : actions/upload-artifact@v4
83+ uses : actions/upload-artifact@v5
9784 with :
9885 name : wheel
9986 path : dist/*.whl
0 commit comments