Skip to content

Commit 550e009

Browse files
committed
#231 Update workflows
1 parent 174f4d0 commit 550e009

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
env:
1313
POETRY_VIRTUALENVS_CREATE: false
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-python@v2
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.13"
1919
- name: Install project dependencies
2020
run: pip install poetry && poetry install
2121
- name: Build docs

.github/workflows/pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
env:
1313
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- uses: actions/setup-python@v2
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.13"
1919
- name: Publish package to PyPI
20-
run: pip install poetry && poetry publish --build
20+
run: pip install poetry==1.8.5 && poetry publish --build

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2121
steps:
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-python@v2
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python }}
2626
- name: Install project dependencies
27-
run: pip install poetry && poetry install
27+
run: pip install poetry==1.8.5 && poetry install
2828
- name: Test code's formatting (Black)
2929
run: black --check docs tests xarray_dataclasses
3030
- name: Test code's typing (Pyright)

0 commit comments

Comments
 (0)