Skip to content

Commit 698beb3

Browse files
committed
ci: use latest CI actions
1 parent cedb74c commit 698beb3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
16+
python-version: [3.9, "3.10", 3.11, 3.12, 3.13]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Setup Python # Set Python version
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
- name: Test with pytest
3737
run: pytest tests/ --junitxml=junit/test-results-${{ matrix.python-version }}.xml
3838
- name: Upload pytest test results
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: pytest-results-${{ matrix.python-version }}
4242
path: junit/test-results-${{ matrix.python-version }}.xml
@@ -56,9 +56,9 @@ jobs:
5656
matrix:
5757
python-version: ["3.10"]
5858
steps:
59-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v4
6060
- name: Setup Python # Set Python version
61-
uses: actions/setup-python@v4
61+
uses: actions/setup-python@v5
6262
- name: Install dependencies
6363
run: |
6464
python -m pip install --upgrade pip

.github/workflows/docs.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.9]
10+
python-version: ["3.10"]
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- name: Setup Python # Set Python version
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717
- name: Install dependencies
@@ -40,9 +40,9 @@ jobs:
4040
if: github.ref == 'refs/heads/master'
4141
strategy:
4242
matrix:
43-
python-version: [3.9]
43+
python-version: ["3.10"]
4444
steps:
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646
with:
4747
ref: gh-pages
4848
- name: Fix index.html

0 commit comments

Comments
 (0)