Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Bump ansys/actions from 7 to 8 #68

Merged
merged 3 commits into from
Oct 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,23 @@ jobs:
- [maintenance](https://github.com/ansys/scade-actions/pulls?q=label%3Amaintenance+)
- [release](https://github.com/ansys/scade-actions/pulls?q=label%3Arelease+)

commit-and-branch-style:
name: "Commit and branch style"
pr-style:
name: "PR style"
runs-on: ubuntu-latest
needs: labeler
steps:
- name: "Check commit style"
uses: ansys/actions/commit-style@v7
- name: "Check pr title"
uses: ansys/actions/check-pr-title@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: "Check branch naming convention"
uses: ansys/actions/branch-name-style@v7

code-style:
name: "Code style"
runs-on: ubuntu-latest
needs: commit-and-branch-style
needs: pr-style
steps:
- name: "Run code style checks"
uses: ansys/actions/code-style@v7
uses: ansys/actions/code-style@v8
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: false
Expand All @@ -113,10 +110,10 @@ jobs:
doc-style:
name: "Doc style"
runs-on: ubuntu-latest
needs: commit-and-branch-style
needs: pr-style
steps:
- name: "Run documentation style checks"
uses: ansys/actions/doc-style@v7
uses: ansys/actions/doc-style@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -126,7 +123,7 @@ jobs:
needs: doc-style
steps:
- name: "Build documentation"
uses: ansys/actions/doc-build@v7
uses: ansys/actions/doc-build@v8
with:
skip-install: true
python-version: ${{ env.MAIN_PYTHON_VERSION }}
Expand Down Expand Up @@ -486,10 +483,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags')
steps:
- uses: ansys/actions/doc-deploy-dev@v7
- uses: ansys/actions/doc-deploy-dev@v8
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

release:
name: "Release to GitHub"
Expand Down Expand Up @@ -540,7 +539,9 @@ jobs:
runs-on: ubuntu-latest
needs: release
steps:
- uses: ansys/actions/doc-deploy-stable@v7
- uses: ansys/actions/doc-deploy-stable@v8
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
Loading