Skip to content

Commit c6bd26c

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 230c1e7 + cd9747c commit c6bd26c

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/ci-build.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: PyGranta Licenses Check
28-
uses: ansys/actions/check-licenses@v10
28+
uses: ansys/actions/check-licenses@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
2929
with:
3030
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3131
target: "all"
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: PyGranta documentation style checks
38-
uses: ansys/actions/doc-style@v10
38+
uses: ansys/actions/doc-style@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
3939
with:
4040
token: ${{ secrets.GITHUB_TOKEN }}
4141

@@ -49,10 +49,10 @@ jobs:
4949
python-version: ['3.10', '3.11', '3.12', '3.13']
5050

5151
steps:
52-
- uses: actions/checkout@v5
52+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5353

5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v6
55+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
cache: 'pip'
@@ -80,7 +80,7 @@ jobs:
8080

8181
steps:
8282
- name: Build wheelhouse and perform smoke test
83-
uses: ansys/actions/build-wheelhouse@v10
83+
uses: ansys/actions/build-wheelhouse@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
8484
with:
8585
library-name: ${{ env.PACKAGE_NAME }}
8686
operating-system: ${{ runner.os }}
@@ -93,7 +93,7 @@ jobs:
9393
cat all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
9494
9595
- name: Upload dependencies list
96-
uses: actions/upload-artifact@v4
96+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9797
with:
9898
name: all-deps-${{ runner.os }}-${{ matrix.python-version }}
9999
path: all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
@@ -106,10 +106,12 @@ jobs:
106106

107107
steps:
108108
- name: Build documentation
109-
uses: ansys/actions/doc-build@v10
109+
uses: ansys/actions/doc-build@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
110110
with:
111111
python-version: ${{ env.MAIN_PYTHON_VERSION }}
112-
sphinxopts: '-j auto -W --keep-going -n -t list_packages'
112+
sphinxopts: "-j auto -W --keep-going -n -t list_packages"
113+
group-dependencies-name: "doc"
114+
optional-dependencies-name: ""
113115

114116
package:
115117
name: Package library
@@ -120,7 +122,7 @@ jobs:
120122
attestations: write
121123
steps:
122124
- name: Build library source and wheel artifacts
123-
uses: ansys/actions/build-library@v10
125+
uses: ansys/actions/build-library@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
124126
with:
125127
library-name: ${{ env.PACKAGE_NAME }}
126128
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -133,7 +135,7 @@ jobs:
133135
needs: [ package ]
134136
steps:
135137
- name: Deploy the latest documentation
136-
uses: ansys/actions/doc-deploy-dev@v10
138+
uses: ansys/actions/doc-deploy-dev@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
137139
with:
138140
cname: ${{ env.DOCUMENTATION_CNAME }}
139141
token: ${{ secrets.GITHUB_TOKEN }}
@@ -151,7 +153,7 @@ jobs:
151153
runs-on: ubuntu-latest
152154
steps:
153155
- name: Release to GitHub
154-
uses: ansys/actions/release-github@v10
156+
uses: ansys/actions/release-github@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
155157
with:
156158
library-name: ${{ env.PACKAGE_NAME }}
157159
additional-artifacts: 'all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Linux-3.12 all-deps-Linux-3.13 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-Windows-3.12 all-deps-Windows-3.13'
@@ -177,7 +179,7 @@ jobs:
177179
needs: [release]
178180
steps:
179181
- name: Deploy the latest release documentation
180-
uses: ansys/actions/doc-deploy-stable@v10
182+
uses: ansys/actions/doc-deploy-stable@9de5aa715cf3c98a237b08e1a308c08599223c42 # v10.1.2
181183
with:
182184
cname: ${{ env.DOCUMENTATION_CNAME }}
183185
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)