Skip to content

Commit b7c0c9f

Browse files
authored
Update versions of github actions to fix deprecation warnings
1 parent c828bbb commit b7c0c9f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

19-
- name: Set up Python 3.10
20-
uses: actions/setup-python@v4
19+
- name: Set up Python 3.12
20+
uses: actions/setup-python@v5
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.12"
2323

2424
- name: Install dependencies
2525
run: python -m pip install --upgrade pip build

.github/workflows/run-examples.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9", "3.10"]
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

@@ -40,7 +40,7 @@ jobs:
4040
NO_DISPLAY=1 python water_boiler.py
4141
4242
- name: Upload resulting figures
43-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: result-py${{ matrix.python-version }}.png
4646
path: examples/water_boiler/result-py${{ matrix.python-version }}.png

.github/workflows/run-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"]
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

0 commit comments

Comments
 (0)