Skip to content

Commit

Permalink
ci: bump ansys/actions from 6 to 7 in the actions group (#1352)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and pyansys-ci-bot authored Aug 9, 2024
1 parent fcf699f commit f316e87
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 21 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: ansys/actions/doc-deploy-changelog@v6
- uses: ansys/actions/doc-deploy-changelog@v7
with:
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

Expand All @@ -48,15 +48,15 @@ jobs:
steps:
- name: PyAnsys Vulnerability check (on main)
if: github.ref == 'refs/heads/main'
uses: ansys/actions/check-vulnerabilities@v6
uses: ansys/actions/check-vulnerabilities@v7
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
python-package-name: ${{ env.PACKAGE_NAME }}
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

- name: PyAnsys Vulnerability check (on dev mode)
if: github.ref != 'refs/heads/main'
uses: ansys/actions/check-vulnerabilities@v6
uses: ansys/actions/check-vulnerabilities@v7
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
python-package-name: ${{ env.PACKAGE_NAME }}
Expand All @@ -70,15 +70,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check branch name
uses: ansys/actions/branch-name-style@v6
uses: ansys/actions/branch-name-style@v7

commit-name:
if: github.event_name == 'pull_request'
name: Check the name of the commit
runs-on: ubuntu-latest
steps:
- name: Check commit name
uses: ansys/actions/commit-style@v6
uses: ansys/actions/commit-style@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: PyAnsys documentation style checks
uses: ansys/actions/doc-style@v6
uses: ansys/actions/doc-style@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -106,7 +106,7 @@ jobs:
os: macos-latest
steps:
- name: Build wheelhouse and perform smoke test
uses: ansys/actions/build-wheelhouse@v6
uses: ansys/actions/build-wheelhouse@v7
with:
library-name: ${{ env.PACKAGE_NAME }}
operating-system: ${{ matrix.os }}
Expand All @@ -117,7 +117,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: PyAnsys documentation style checks
uses: ansys/actions/docker-style@v6
uses: ansys/actions/docker-style@v7
with:
directory: docker
recursive: true
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
run: docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_WINDOWS_TAG }}

- name: Run Ansys documentation building action
uses: ansys/actions/doc-build@v6
uses: ansys/actions/doc-build@v7
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
add-pdf-html-docs-as-assets: true
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:

- name: Run pytest
if: env.SKIP_UNSTABLE == 'false'
uses: ansys/actions/tests-pytest@v6
uses: ansys/actions/tests-pytest@v7
env:
ALLOW_PLOTTING: true
with:
Expand Down Expand Up @@ -447,7 +447,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build library source and wheel artifacts
uses: ansys/actions/build-library@v6
uses: ansys/actions/build-library@v7
with:
library-name: ${{ env.PACKAGE_NAME }}
python-version: ${{ env.MAIN_PYTHON_VERSION }}
Expand Down Expand Up @@ -658,7 +658,7 @@ jobs:
restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}

- name: Run pytest
uses: ansys/actions/tests-pytest@v6
uses: ansys/actions/tests-pytest@v7
env:
ALLOW_PLOTTING: true
with:
Expand Down Expand Up @@ -699,13 +699,13 @@ jobs:
contents: write
steps:
- name: Release to the public PyPI repository
uses: ansys/actions/release-pypi-public@v6
uses: ansys/actions/release-pypi-public@v7
with:
library-name: ${{ env.PACKAGE_NAME }}
use-trusted-publisher: true

- name: Release to GitHub
uses: ansys/actions/release-github@v6
uses: ansys/actions/release-github@v7
with:
library-name: ${{ env.PACKAGE_NAME }}
additional-artifacts: windows-dockerfile.zip linux-dockerfile.zip
Expand All @@ -717,7 +717,7 @@ jobs:
needs: [package]
steps:
- name: Deploy the latest documentation
uses: ansys/actions/doc-deploy-dev@v6
uses: ansys/actions/doc-deploy-dev@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -729,7 +729,7 @@ jobs:
needs: upload_dev_docs
steps:
- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@v6
uses: ansys/actions/doc-deploy-index@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
index-name: pyansys-geometry-vdev
Expand All @@ -744,7 +744,7 @@ jobs:
needs: [release]
steps:
- name: Deploy the stable documentation
uses: ansys/actions/doc-deploy-stable@v6
uses: ansys/actions/doc-deploy-stable@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -770,7 +770,7 @@ jobs:
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@v6
uses: ansys/actions/doc-deploy-index@v7
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
index-name: pyansys-geometry-v${{ env.VERSION_MEILI }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- name: "Perform versions cleanup - except certain tags"
uses: ansys/actions/hk-package-clean-except@v6
uses: ansys/actions/hk-package-clean-except@v7
with:
package-name: 'geometry'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: ansys/actions/doc-changelog@v6
- uses: ansys/actions/doc-changelog@v7
with:
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/nightly_docker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE_LINUX_TAG }}
- name: Run pytest
uses: ansys/actions/tests-pytest@v6
uses: ansys/actions/tests-pytest@v7
env:
ALLOW_PLOTTING: true
with:
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/1352.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: bump ansys/actions from 6 to 7 in the actions group
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,18 @@ showcontent = true
directory = "miscellaneous"
name = "Miscellaneous"
showcontent = true

[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation"
showcontent = true

[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true

[[tool.towncrier.type]]
directory = "test"
name = "Test"
showcontent = true

0 comments on commit f316e87

Please sign in to comment.