99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout source code
12- uses : actions/checkout@v3
12+ uses : actions/checkout@v5
1313 - name : Set up Python 3.12
14- uses : actions/setup-python@v4
14+ uses : actions/setup-python@v5
1515 with :
1616 python-version : " 3.12"
1717 - name : Install dependencies
@@ -26,12 +26,12 @@ jobs:
2626 python : ["3.8", "3.9", "3.10", "3.11", "3.12"]
2727 steps :
2828 - name : Checkout source code
29- uses : actions/checkout@v3
29+ uses : actions/checkout@v5
3030 # We need history to build the package
3131 with :
3232 fetch-depth : 0
3333 - name : Set up Python ${{ matrix.python }}
34- uses : actions/setup-python@v4
34+ uses : actions/setup-python@v5
3535 with :
3636 python-version : ${{ matrix.python }}
3737 - name : Install dependencies
@@ -43,20 +43,20 @@ jobs:
4343 runs-on : ubuntu-latest
4444 steps :
4545 - name : Checkout source code
46- uses : actions/checkout@v3
46+ uses : actions/checkout@v5
4747 # We need history for release notes
4848 with :
4949 fetch-depth : 0
5050 - name : Set up Python 3.12
51- uses : actions/setup-python@v4
51+ uses : actions/setup-python@v5
5252 with :
5353 python-version : " 3.12"
5454 - name : Install dependencies
5555 run : python -m pip install tox
5656 - name : Build docs (via tox)
5757 run : tox -e docs
5858 - name : Archive build results
59- uses : actions/upload-artifact@v3
59+ uses : actions/upload-artifact@v4
6060 with :
6161 name : html-docs-build
6262 path : docs/_build/html
@@ -68,12 +68,12 @@ jobs:
6868 if : github.event_name == 'push'
6969 steps :
7070 - name : Checkout source code
71- uses : actions/checkout@v3
71+ uses : actions/checkout@v5
7272 # We need history to build the package
7373 with :
7474 fetch-depth : 0
7575 - name : Set up Python 3.12
76- uses : actions/setup-python@v4
76+ uses : actions/setup-python@v5
7777 with :
7878 python-version : " 3.12"
7979 - name : Install dependencies
8282 run : python -m build --sdist --wheel --outdir dist/ .
8383 - name : Publish distribution to PyPI
8484 if : startsWith(github.ref, 'refs/tags')
85- uses : pypa/gh-action-pypi-publish@master
85+ uses : pypa/gh-action-pypi-publish@release/v1
8686 with :
8787 password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments