Skip to content

Commit 6fe7298

Browse files
committed
fix warnings and deploy docs workflow
1 parent 8acd2eb commit 6fe7298

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
os: windows-latest
3333
runs-on: ${{ matrix.os }}
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v6
3636
- name: Setup Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
- name: Install dependencies
@@ -49,9 +49,9 @@ jobs:
4949
if: github.event.pull_request.draft == false || github.event_name != 'pull_request'
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v3
52+
- uses: actions/checkout@v6
5353
- name: Setup Python
54-
uses: actions/setup-python@v4
54+
uses: actions/setup-python@v6
5555
with:
5656
python-version: '3.11'
5757
- name: Install Python dependencies

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0
24-
- uses: actions/setup-python@v5
24+
- uses: actions/setup-python@v6
2525
with:
2626
python-version: 3.x
2727
cache: 'pip'
2828
- name: Install dependencies
29-
run: pip install -r requirements.txt
29+
run: python -m pip install --upgrade hatch
3030
- name: Build
3131
run: hatch -e doc run properdocs build --clean
3232
- name: Upload static files as artifact
33-
uses: actions/upload-pages-artifact@v3
33+
uses: actions/upload-pages-artifact@v4
3434
with:
3535
path: ./site/
3636

@@ -43,4 +43,4 @@ jobs:
4343
steps:
4444
- name: Deploy to GitHub Pages
4545
id: deployment
46-
uses: actions/deploy-pages@v4
46+
uses: actions/deploy-pages@v5

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1515
steps:
1616
- name: Set up Python 3
17-
uses: actions/checkout@master
17+
uses: actions/checkout@v6
1818
- name: Set up Python 3
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: 3.x
2222
- name: Install pypa/build

0 commit comments

Comments
 (0)