Skip to content

Commit f30d2b2

Browse files
update github actions scripts
1 parent 1b00d48 commit f30d2b2

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
run: |
1212
curl -sSL https://install.python-poetry.org | python
1313
echo $HOME/.poetry/bin >> $GITHUB_PATH
14-
- uses: actions/checkout@v4.0.0
15-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-python@v6
1616
with:
17-
python-version: "3.9"
17+
python-version: "3.10"
1818
- name: Install Python Requirements
1919
run: |
2020
poetry install
@@ -24,4 +24,5 @@ jobs:
2424
poetry build
2525
- name: Publish Package
2626
if: startsWith(github.event.ref, 'refs/tags')
27-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
27+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
28+

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
run: |
1414
curl -sSL https://install.python-poetry.org | python
1515
echo $HOME/.poetry/bin >> $GITHUB_PATH
16-
- uses: actions/checkout@v4.0.0
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-python@v6
1818
with:
19-
python-version: "3.9"
19+
python-version: "3.10"
2020
- name: Install Python Requirements
2121
run: |
2222
poetry install
@@ -25,7 +25,7 @@ jobs:
2525
poetry run sphinx-apidoc -H "API Reference" -o docs/api_reference recline
2626
poetry run sphinx-build -b html docs build/html
2727
- name: Publish Docs
28-
uses: JamesIves/github-pages-deploy-action@15de0f09300eea763baee31dff6c6184995c5f6a # v4.7.2
28+
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
2929
with:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
BRANCH: gh-pages

.github/workflows/on_pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
echo $HOME/bin >> $GITHUB_PATH
1616
curl -sSL https://install.python-poetry.org | python
1717
echo $HOME/.poetry/bin >> $GITHUB_PATH
18-
- uses: actions/checkout@v4.0.0
19-
- uses: actions/setup-python@v4
18+
- uses: actions/checkout@v6
19+
- uses: actions/setup-python@v6
2020
with:
21-
python-version: "3.9"
21+
python-version: "3.10"
2222
- name: Install Python Requirements
2323
run: |
2424
poetry install

0 commit comments

Comments
 (0)