Skip to content

Commit 8d5eefb

Browse files
Merge branch 'main' into kkuntar/pipe_example
2 parents 2f27c3f + 64c2bf4 commit 8d5eefb

File tree

4 files changed

+25
-22
lines changed

4 files changed

+25
-22
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
DOC_BUILD_SYC_VERSION: 25_2
1818
FLUENT_IMAGE_VERSION: "v25.2.0"
1919
SYC_IMAGE_VERSION: "v25.2.0"
20-
MAPDL_IMAGE_VERSION: "v25.1-ubuntu-cicd" # TODO: update to 25.2
20+
MAPDL_IMAGE_VERSION: "v25.2-ubuntu-cicd"
2121

2222
permissions: {} # Zero permissions can be granted at the workflow level if not all jobs require permissions.
2323
# As a good rule of thumb, this normally includes jobs that don't use secrets.
@@ -32,7 +32,7 @@ jobs:
3232
name: "Check actions security"
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: ansys/actions/check-actions-security@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
35+
- uses: ansys/actions/check-actions-security@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
3636
with:
3737
generate-summary: true
3838
token: ${{ secrets.GITHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: "PySystemCoupling documentation style checks"
47-
uses: ansys/actions/doc-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
47+
uses: ansys/actions/doc-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
4848
with:
4949
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
5050
vale-version: "3.4.1"
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: PyAnsys code style checks
57-
uses: ansys/actions/code-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
57+
uses: ansys/actions/code-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
5858
with:
5959
python-version: ${{ env.MAIN_PYTHON_VERSION }}
6060

@@ -70,7 +70,7 @@ jobs:
7070

7171
steps:
7272
- name: "Build wheelhouse and perform smoke test"
73-
uses: ansys/actions/build-wheelhouse@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
73+
uses: ansys/actions/build-wheelhouse@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
7474
with:
7575
library-name: ${{ env.PACKAGE_NAME }}
7676
operating-system: ${{ matrix.os }}
@@ -81,7 +81,7 @@ jobs:
8181
name: "Check library vulnerabilities"
8282
runs-on: ubuntu-latest
8383
steps:
84-
- uses: ansys/actions/check-vulnerabilities@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
84+
- uses: ansys/actions/check-vulnerabilities@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
8585
with:
8686
python-version: ${{ env.MAIN_PYTHON_VERSION }}
8787
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-latest
9898

9999
steps:
100-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
101101
with:
102102
persist-credentials: false
103103

@@ -172,7 +172,7 @@ jobs:
172172
runs-on: ubuntu-latest
173173

174174
steps:
175-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
175+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
176176
with:
177177
persist-credentials: false
178178
- name: Setup Python
@@ -181,7 +181,7 @@ jobs:
181181
python-version: ${{ env.MAIN_PYTHON_VERSION }}
182182

183183
- name: Download package
184-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
184+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
185185
with:
186186
name: ${{ env.PACKAGE_NAME }}-artifacts
187187
path: dist
@@ -255,7 +255,7 @@ jobs:
255255
packages: read
256256

257257
steps:
258-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
258+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
259259
with:
260260
persist-credentials: false
261261
- name: Setup Python
@@ -264,7 +264,7 @@ jobs:
264264
python-version: ${{ env.MAIN_PYTHON_VERSION }}
265265

266266
- name: Download package
267-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
267+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
268268
with:
269269
name: ${{ env.PACKAGE_NAME }}-artifacts
270270
path: dist
@@ -349,7 +349,7 @@ jobs:
349349
contents: write
350350
steps:
351351
- name: Deploy the latest documentation
352-
uses: ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
352+
uses: ansys/actions/doc-deploy-dev@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
353353
with:
354354
cname: ${{ env.DOCUMENTATION_CNAME }}
355355
token: ${{ secrets.GITHUB_TOKEN }}
@@ -362,15 +362,18 @@ jobs:
362362
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
363363
needs: [test, docs]
364364
runs-on: ubuntu-latest
365+
environment: release
366+
permissions:
367+
id-token: write
368+
contents: write
365369
steps:
366370

367371
- name: "Download the library artifacts from build-library step"
368-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
372+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
369373
with:
370374
name: ${{ env.PACKAGE_NAME }}-artifacts
371375
path: ${{ env.PACKAGE_NAME }}-artifacts
372376

373-
374377
- name: Display structure of downloaded files
375378
run: ls -R
376379

@@ -379,11 +382,11 @@ jobs:
379382
with:
380383
repository-url: "https://upload.pypi.org/legacy/"
381384
print-hash: true
382-
packages-dir: ${{ env.PACKAGE_NAMEt }}-artifacts
385+
packages-dir: ${{ env.PACKAGE_NAME }}-artifacts
383386
skip-existing: false
384387

385388
- name: "Release to GitHub"
386-
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
389+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
387390
with:
388391
files: |
389392
./**/*.whl
@@ -397,7 +400,7 @@ jobs:
397400
needs: [release]
398401
steps:
399402
- name: Deploy the stable documentation
400-
uses: ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
403+
uses: ansys/actions/doc-deploy-stable@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
401404
with:
402405
cname: ${{ env.DOCUMENTATION_CNAME }}
403406
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Syncer
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2323
with:
2424
persist-credentials: false
2525
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude: ^(doc/source/examples)
44
# initially copied from pymapdl
55
repos:
66
- repo: https://github.com/psf/black
7-
rev: 25.9.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY - ALSO: check pyproject.toml
7+
rev: 25.11.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY - ALSO: check pyproject.toml
88
hooks:
99
- id: black
1010

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ classesgen = [
5454
# black and isort are called programmatically to keep generated code
5555
# consistent with style elsewhere. We need to keep these versions in
5656
# sync with the precommit dependencies.
57-
"black==25.9.0",
57+
"black==25.11.0",
5858
"isort==7.0.0",
5959
]
6060
doc = [
6161
"ansys-sphinx-theme==1.6.3",
6262
"jupyter_sphinx==0.5.3",
6363
"matplotlib",
6464
"numpydoc==1.9.0",
65-
"pypandoc==1.15",
65+
"pypandoc==1.16.2",
6666
"pytest-sphinx==0.6.3",
6767
"sphinx>=8.1.3",
6868
"sphinx-autobuild==2024.10.3",
@@ -75,7 +75,7 @@ doc = [
7575

7676
# pyansys dependencies for sphinx gallery examples
7777
"ansys-fluent-core==0.35.0",
78-
"ansys-mapdl-core==0.71.0",
78+
"ansys-mapdl-core==0.71.1",
7979
]
8080
style = [
8181
# NB: ensure these remain synced with .pre-commit-config.yaml

0 commit comments

Comments
 (0)