Skip to content

Commit 2b90726

Browse files
Merge branch 'main' into dependabot/pip/doc-dependencies-704ae61e01
2 parents e9f7da0 + c3bf33f commit 2b90726

File tree

16 files changed

+51
-26
lines changed

16 files changed

+51
-26
lines changed

.github/workflows/ci_cd.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
contents: write
3131
pull-requests: write
3232
steps:
33-
- uses: ansys/actions/doc-deploy-changelog@v8
33+
- uses: ansys/actions/doc-deploy-changelog@v9
3434
with:
3535
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
3636
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -42,15 +42,15 @@ jobs:
4242
steps:
4343
- name: PyAnsys Vulnerability check (on main)
4444
if: github.ref == 'refs/heads/main'
45-
uses: ansys/actions/check-vulnerabilities@v8
45+
uses: ansys/actions/check-vulnerabilities@v9
4646
with:
4747
python-version: ${{ env.MAIN_PYTHON_VERSION }}
4848
python-package-name: ${{ env.PACKAGE_NAME }}
4949
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
5050

5151
- name: PyAnsys Vulnerability check (on dev mode)
5252
if: github.ref != 'refs/heads/main'
53-
uses: ansys/actions/check-vulnerabilities@v8
53+
uses: ansys/actions/check-vulnerabilities@v9
5454
with:
5555
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5656
python-package-name: ${{ env.PACKAGE_NAME }}
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: PyAnsys documentation style checks
65-
uses: ansys/actions/doc-style@v8
65+
uses: ansys/actions/doc-style@v9
6666
with:
6767
token: ${{ secrets.GITHUB_TOKEN }}
6868

@@ -75,7 +75,7 @@ jobs:
7575
uses: pyvista/setup-headless-display-action@v3
7676

7777
- name: "Run Ansys documentation building action"
78-
uses: ansys/actions/doc-build@v8
78+
uses: ansys/actions/doc-build@v9
7979
with:
8080
python-version: ${{ env.MAIN_PYTHON_VERSION }}
8181
add-pdf-html-docs-as-assets: true
@@ -95,7 +95,7 @@ jobs:
9595
os: macos-latest
9696
steps:
9797
- name: Build wheelhouse and perform smoke test
98-
uses: ansys/actions/build-wheelhouse@v8
98+
uses: ansys/actions/build-wheelhouse@v9
9999
with:
100100
library-name: ${{ env.PACKAGE_NAME }}
101101
operating-system: ${{ matrix.os }}
@@ -115,7 +115,7 @@ jobs:
115115
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}
116116

117117
- name: "Run pytest"
118-
uses: ansys/actions/tests-pytest@v8
118+
uses: ansys/actions/tests-pytest@v9
119119
with:
120120
python-version: ${{ env.MAIN_PYTHON_VERSION }}
121121
requires-xvfb: true
@@ -139,7 +139,7 @@ jobs:
139139
runs-on: ubuntu-latest
140140
steps:
141141
- name: Build library source and wheel artifacts
142-
uses: ansys/actions/build-library@v8
142+
uses: ansys/actions/build-library@v9
143143
with:
144144
library-name: ${{ env.PACKAGE_NAME }}
145145
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -151,7 +151,7 @@ jobs:
151151
needs: [package]
152152
steps:
153153
- name: Deploy the latest documentation
154-
uses: ansys/actions/doc-deploy-dev@v8
154+
uses: ansys/actions/doc-deploy-dev@v9
155155
with:
156156
cname: ${{ env.DOCUMENTATION_CNAME }}
157157
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -160,22 +160,30 @@ jobs:
160160

161161
release:
162162
name: Release project
163-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
163+
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
164164
needs: [package]
165165
runs-on: ubuntu-latest
166166
environment: release
167167
permissions:
168168
id-token: write
169169
contents: write
170170
steps:
171-
- name: Release to the public PyPI repository
172-
uses: ansys/actions/release-pypi-public@v8
171+
- name: "Download the library artifacts from build-library step"
172+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
173+
with:
174+
name: ${{ env.PACKAGE_NAME }}-artifacts
175+
path: ${{ env.PACKAGE_NAME }}-artifacts
176+
177+
- name: "Upload artifacts to PyPI using trusted publisher"
178+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
173179
with:
174-
use-trusted-publisher: true
175-
library-name: ${{ env.PACKAGE_NAME }}
180+
repository-url: "https://upload.pypi.org/legacy/"
181+
print-hash: true
182+
packages-dir: ${{ env.PACKAGE_NAME }}-artifacts
183+
skip-existing: false
176184

177185
- name: Release to GitHub
178-
uses: ansys/actions/release-github@v8
186+
uses: ansys/actions/release-github@v9
179187
with:
180188
library-name: ${{ env.PACKAGE_NAME }}
181189

@@ -186,7 +194,7 @@ jobs:
186194
needs: [release]
187195
steps:
188196
- name: Deploy the stable documentation
189-
uses: ansys/actions/doc-deploy-stable@v8
197+
uses: ansys/actions/doc-deploy-stable@v9
190198
with:
191199
cname: ${{ env.DOCUMENTATION_CNAME }}
192200
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
pull-requests: write
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: ansys/actions/doc-changelog@v8
95+
- uses: ansys/actions/doc-changelog@v9
9696
with:
9797
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
9898
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ repos:
2929

3030
# this validates our github workflow files
3131
- repo: https://github.com/python-jsonschema/check-jsonschema
32-
rev: 0.31.3
32+
rev: 0.32.1
3333
hooks:
3434
- id: check-github-workflows
3535

3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.11.0
37+
rev: v0.11.4
3838
hooks:
3939
- id: ruff
4040
args: [--fix]

CONTRIBUTORS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@
66

77
## Individual Contributors
88

9+
* [Abhishek Chitwar](https://github.com/abhishekchitwar)
10+
* [German](https://github.com/germa89)
11+
* [Jorge Martínez](https://github.com/jorgepiloto)
12+
* [Kathy Pippert](https://github.com/PipKat)
13+
* [Maxime Rey](https://github.com/MaxJPRey)
914
* [Roberto Pastor Muela](https://github.com/RobPasMue)
15+
* [Sébastien Morais](https://github.com/SMoraisAnsys)

doc/changelog.d/265.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[pre-commit.ci] pre-commit autoupdate
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump pyside6 from 6.8.2.1 to 6.8.3 in the general-dependencies group

doc/changelog.d/267.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[pre-commit.ci] pre-commit autoupdate
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump pyside6 from 6.8.3 to 6.9.0 in the general-dependencies group
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump pytest-cov from 6.0.0 to 6.1.1 in the test-dependencies group

doc/changelog.d/271.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs: Update ``CONTRIBUTORS.md`` with the latest contributors

0 commit comments

Comments
 (0)