Skip to content

Commit 7d46a45

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents b5d8238 + 42dfe08 commit 7d46a45

34 files changed

+845
-137
lines changed

.github/workflows/ci_cd.yml

Lines changed: 18 additions & 18 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@v9
33+
- uses: ansys/actions/doc-deploy-changelog@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
3434
with:
3535
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
3636
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Check commit name
45-
uses: ansys/actions/check-pr-title@v9
45+
uses: ansys/actions/check-pr-title@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
4646
with:
4747
token: ${{ secrets.GITHUB_TOKEN }}
4848

@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: PyAnsys documentation style checks
54-
uses: ansys/actions/doc-style@v9
54+
uses: ansys/actions/doc-style@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
5555
with:
5656
token: ${{ secrets.GITHUB_TOKEN }}
5757

@@ -65,7 +65,7 @@ jobs:
6565
python-version: ['3.10', '3.11', '3.12', '3.13']
6666
steps:
6767
- name: Build wheelhouse and perform smoke test
68-
uses: ansys/actions/build-wheelhouse@v9
68+
uses: ansys/actions/build-wheelhouse@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
6969
with:
7070
library-name: ${{ env.PACKAGE_NAME }}
7171
operating-system: ${{ matrix.os }}
@@ -77,9 +77,9 @@ jobs:
7777
needs: [doc-style]
7878
steps:
7979
- name: Checkout
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8181
- name: Login to GitHub Packages
82-
uses: docker/login-action@v3
82+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
8383
with:
8484
registry: ghcr.io/ansys
8585
username: ${{ github.actor }}
@@ -91,7 +91,7 @@ jobs:
9191
run: |
9292
docker run --detach --name speos-rpc -p 50098:50098 -e SPEOS_LOG_LEVEL=2 -e ANSYSLMD_LICENSE_FILE=${{ env.ANSYSLMD_LICENSE_FILE }} -v "${{ github.workspace }}/tests/assets:/app/assets" --entrypoint /app/SpeosRPC_Server.x ghcr.io/ansys/speos-rpc:dev
9393
- name: "Run Ansys documentation building action"
94-
uses: ansys/actions/doc-build@v9
94+
uses: ansys/actions/doc-build@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
9595
with:
9696
python-version: ${{ env.MAIN_PYTHON_VERSION }}
9797
check-links: false
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113

114114
steps:
115-
- uses: actions/checkout@v4
115+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
116116

117117
- name: Installing OS packages
118118
shell: bash
@@ -121,7 +121,7 @@ jobs:
121121
sudo apt install -y libgl1 libglx-mesa0 xvfb libgomp1
122122
123123
- name: Set up Python
124-
uses: actions/setup-python@v5
124+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
125125
with:
126126
python-version: ${{ env.MAIN_PYTHON_VERSION }}
127127

@@ -141,7 +141,7 @@ jobs:
141141
pip install .[tests]
142142
143143
- name: Login to GitHub Packages
144-
uses: docker/login-action@v3
144+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
145145
with:
146146
registry: ghcr.io/ansys
147147
username: ${{ github.actor }}
@@ -162,14 +162,14 @@ jobs:
162162
163163
- name: Upload Coverage Results
164164
if: always()
165-
uses: actions/upload-artifact@v4
165+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
166166
with:
167167
name: coverage-html-ubuntu
168168
path: .cov/html
169169
retention-days: 7
170170

171171
- name: Upload coverage to Codecov
172-
uses: codecov/codecov-action@v5
172+
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
173173
env:
174174
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
175175
with:
@@ -187,7 +187,7 @@ jobs:
187187
needs: [doc-build, testing]
188188
steps:
189189
- name: "Build library source and wheel artifacts"
190-
uses: ansys/actions/build-library@v9
190+
uses: ansys/actions/build-library@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
191191
with:
192192
library-name: ${{ env.PACKAGE_NAME }}
193193
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -199,7 +199,7 @@ jobs:
199199
needs: [build-library]
200200
steps:
201201
- name: "Deploy developers documentation"
202-
uses: ansys/actions/doc-deploy-dev@v9
202+
uses: ansys/actions/doc-deploy-dev@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
203203
with:
204204
cname: ${{ env.DOCUMENTATION_CNAME }}
205205
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -213,7 +213,7 @@ jobs:
213213
needs: [release]
214214
steps:
215215
- name: Deploy the stable documentation
216-
uses: ansys/actions/doc-deploy-stable@v9
216+
uses: ansys/actions/doc-deploy-stable@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
217217
with:
218218
cname: ${{ env.DOCUMENTATION_CNAME }}
219219
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -232,21 +232,21 @@ jobs:
232232
contents: write
233233
steps:
234234
- name: Download the library artifacts from build-library step
235-
uses: actions/download-artifact@v4
235+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
236236
with:
237237
name: ${{ env.PACKAGE_NAME }}-artifacts
238238
path: ${{ env.PACKAGE_NAME }}-artifacts
239239

240240
- name: Release to PyPI using trusted publisher
241-
uses: pypa/gh-action-pypi-publish@v1
241+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
242242
with:
243243
repository-url: "https://upload.pypi.org/legacy/"
244244
print-hash: true
245245
packages-dir: ${{ env.PACKAGE_NAME }}-artifacts
246246
skip-existing: false
247247

248248
- name: Release to GitHub
249-
uses: ansys/actions/release-github@v9
249+
uses: ansys/actions/release-github@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
250250
with:
251251
library-name: ${{ env.PACKAGE_NAME }}
252252
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
name: Syncer
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
22-
- uses: micnncim/action-label-syncer@v1
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525

@@ -34,32 +34,32 @@ jobs:
3434

3535
# Label based on modified files
3636
- name: Label based on changed files
37-
uses: actions/labeler@v5
37+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
3838
with:
3939
repo-token: ${{ secrets.GITHUB_TOKEN }}
4040

4141
# Label based on branch name
42-
- uses: actions-ecosystem/action-add-labels@v1
42+
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
4343
if: |
4444
startsWith(github.event.pull_request.head.ref, 'doc') ||
4545
startsWith(github.event.pull_request.head.ref, 'docs')
4646
with:
4747
labels: documentation
4848

49-
- uses: actions-ecosystem/action-add-labels@v1
49+
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
5050
if: |
5151
startsWith(github.event.pull_request.head.ref, 'maint') ||
5252
startsWith(github.event.pull_request.head.ref, 'no-ci') ||
5353
startsWith(github.event.pull_request.head.ref, 'ci')
5454
with:
5555
labels: maintenance
5656

57-
- uses: actions-ecosystem/action-add-labels@v1
57+
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
5858
if: startsWith(github.event.pull_request.head.ref, 'feat')
5959
with:
6060
labels: enhancement
6161

62-
- uses: actions-ecosystem/action-add-labels@v1
62+
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
6363
if: |
6464
startsWith(github.event.pull_request.head.ref, 'fix') ||
6565
startsWith(github.event.pull_request.head.ref, 'patch')
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Suggest to add labels
73-
uses: peter-evans/create-or-update-comment@v4
73+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
7474
# Execute only when no labels have been applied to the pull request
7575
if: toJSON(github.event.pull_request.labels.*.name) == '{}'
7676
with:
@@ -92,7 +92,7 @@ jobs:
9292
pull-requests: write
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: ansys/actions/doc-changelog@v9
95+
- uses: ansys/actions/doc-changelog@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
9696
with:
9797
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
9898
use-conventional-commits: true

.github/workflows/nightly.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
python-version: ["3.10", "3.11", "3.12", "3.13"]
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323

2424
- name: Installing OS packages
2525
shell: bash
@@ -28,7 +28,7 @@ jobs:
2828
sudo apt install -y libgl1 libglx-mesa0 xvfb libgomp1
2929
3030
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

@@ -46,7 +46,7 @@ jobs:
4646
pip install .[tests]
4747
4848
- name: Login to GitHub Packages
49-
uses: docker/login-action@v3
49+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
5050
with:
5151
registry: ghcr.io/ansys
5252
username: ${{ github.actor }}
@@ -65,14 +65,14 @@ jobs:
6565
6666
- name: Upload Coverage Results
6767
if: always()
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6969
with:
7070
path: .cov/html
7171
name: coverage-html-ubuntu-${{ matrix.python-version }}
7272
retention-days: 7
7373

7474
- name: Upload coverage to Codecov
75-
uses: codecov/codecov-action@v5
75+
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
7676
env:
7777
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7878
with:

doc/changelog.d/454.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/499.documentation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/521.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/523.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/524.dependencies.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/525.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/526.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/529.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/532.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/533.dependencies.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/534.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/537.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/538.documentation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/541.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/542.dependencies.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/543.documentation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/544.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/545.documentation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/546.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/548.maintenance.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/553.documentation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/555.dependencies.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/558.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
update CHANGELOG for v0.4.0

0 commit comments

Comments
 (0)