File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 66
77permissions :
88 contents : read
9+ id-token : write
910
1011jobs :
1112 deploy :
2627 run : python -m build
2728 - name : Publish package
2829 uses : pypa/gh-action-pypi-publish@release/v1
29- with :
30- password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 3434 runs-on : ubuntu-latest
3535 strategy :
3636 matrix :
37- python-version : ["3.10", "3.11"]
37+ python-version : ["3.10", "3.11", "3.12" ]
3838
3939 env :
4040 PMG_MAPI_KEY : ${{ secrets.PMG_MAPI_KEY }}
5858 - name : Test Notebooks
5959 run : pytest --nbmake ./docs/source/content
6060
61- - uses : codecov/codecov-action@v1
62- if : matrix.python-version == 3.10
61+ - uses : codecov/codecov-action@v4
62+ if : matrix.python-version == ' 3.10'
6363 with :
6464 token : ${{ secrets.CODECOV_TOKEN }}
6565 file : ./coverage.xml
9292 # Develop branch only
9393 - name : Deploy
9494 if : github.ref == 'refs/heads/main'
95- uses : peaceiris/actions-gh-pages@v3
95+ uses : peaceiris/actions-gh-pages@v4
9696 with :
9797 deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
9898 publish_dir : ./docs/_build/html
Original file line number Diff line number Diff line change 99 auto-update :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
1313
1414 - name : Set up Python
15- - uses : actions/setup-python@v4
15+ uses : actions/setup-python@v5
1616 with :
17- python-version : ${{ 3.10 }}
17+ python-version : " 3.11 "
1818 cache : pip
1919 cache-dependency-path : pyproject.toml
2020
2525 run : pre-commit autoupdate
2626
2727 - name : Create Pull Request
28- uses : peter-evans/create-pull-request@v3
28+ uses : peter-evans/create-pull-request@v6
2929 with :
3030 branch : update/pre-commit-autoupdate
3131 title : Auto-update pre-commit hooks
You can’t perform that action at this time.
0 commit comments