Skip to content

Commit d386f06

Browse files
committed
Add pypa action and improve Sonar stuff
Signed-off-by: Doug Walker <doug.walker@autodesk.com>
1 parent 715af71 commit d386f06

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/analysis_workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
CC: gcc
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4545
with:
4646
fetch-depth: 50
47-
- name: Install sonar-scanner and build-wrapper
48-
uses: sonarsource/sonarcloud-github-c-cpp@v2
47+
- name: Install build-wrapper
48+
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v4
4949
- name: Install docs env
5050
run: share/ci/scripts/linux/dnf/install_docs_env.sh
5151
- name: Install tests env
@@ -78,7 +78,7 @@ jobs:
7878
- name: Generate code coverage report
7979
run: share/ci/scripts/linux/run_gcov.sh
8080
- name: Run sonar-scanner
81+
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 # v7.0.0
8182
env:
8283
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8384
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
84-
run: sonar-scanner

.github/workflows/wheel_workflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
python-version: '3.11'
134134

135135
- name: Build wheels
136-
uses: pypa/cibuildwheel@v3.3.0
136+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
137137
env:
138138
CIBW_BUILD: ${{ matrix.python }}
139139
CIBW_ARCHS: ${{ matrix.arch }}
@@ -191,7 +191,7 @@ jobs:
191191
python-version: '3.11'
192192

193193
- name: Build wheels
194-
uses: pypa/cibuildwheel@v3.3.0
194+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
195195
env:
196196
CIBW_BUILD: ${{ matrix.python }}
197197
CIBW_ARCHS: ${{ matrix.arch }}
@@ -248,7 +248,7 @@ jobs:
248248
brew uninstall --ignore-dependencies openexr imath || true
249249
250250
- name: Build wheels
251-
uses: pypa/cibuildwheel@v3.3.0
251+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
252252
env:
253253
CIBW_BUILD: ${{ matrix.python }}
254254
CIBW_ARCHS: ${{ matrix.arch }}
@@ -300,7 +300,7 @@ jobs:
300300
python-version: '3.11'
301301

302302
- name: Build wheels
303-
uses: pypa/cibuildwheel@v3.3.0
303+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
304304
env:
305305
CIBW_BUILD: ${{ matrix.python }}
306306
CIBW_ARCHS: ${{ matrix.arch }}
@@ -352,7 +352,7 @@ jobs:
352352
python-version: '3.11'
353353

354354
- name: Build wheels
355-
uses: pypa/cibuildwheel@v3.3.0
355+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
356356
env:
357357
CIBW_BUILD: ${{ matrix.python }}
358358
CIBW_ARCHS: ${{ matrix.arch }}
@@ -379,7 +379,7 @@ jobs:
379379
path: dist
380380
merge-multiple: true
381381

382-
- uses: pypa/gh-action-pypi-publish@release/v1
382+
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
383383
with:
384384
user: __token__
385385
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)