File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 types :
2020 - opened
2121 - reopened
22- - synchronize # when new commits are pushed to the PR
23- - ready_for_review # when the PR is un-drafted
22+ - synchronize
23+ - ready_for_review
2424
2525concurrency :
2626 group : ${{ github.workflow }}-${{ github.ref }}
@@ -39,11 +39,15 @@ jobs:
3939 with :
4040 fetch-depth : 0 # such that setuptools_scm can do its job correctly
4141
42+ - name : Install the latest version of uv
43+ uses : astral-sh/setup-uv@v7
44+ with :
45+ enable-cache : true
46+
4247 - name : Build SDist and Wheel
4348 run : |
44- pipx install uv
45-
46- pipx run build --verbose --sdist --wheel --installer=uv
49+ # the `build` package's console script is `pyproject-build`, not `build`
50+ uvx --from build pyproject-build --verbose --sdist --wheel --installer=uv
4751
4852 - uses : actions/upload-artifact@v7
4953 with :
Original file line number Diff line number Diff line change @@ -192,6 +192,11 @@ jobs:
192192 name : " Publish Tests Results"
193193 needs : test
194194 runs-on : ubuntu-latest
195+
196+ # exposed at job level so the scan step can test for its presence in `if`
197+ env :
198+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
199+
195200 permissions :
196201 checks : write
197202
@@ -218,10 +223,11 @@ jobs:
218223 merge-multiple : true
219224
220225 - name : SonarQube Scan
226+ # forks and unconfigured checkouts have no token; skip rather than fail
227+ if : ${{ env.SONAR_TOKEN != '' }}
221228 uses : SonarSource/sonarqube-scan-action@v8
222229 env :
223230 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
224- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
225231
226232 - name : Publish Test Results
227233 uses : EnricoMi/publish-unit-test-result-action@v2
Original file line number Diff line number Diff line change 11# Contributor License Agreement
22
3- > ** Status: draft — must be reviewed and approved by Algorithmiq's legal
4- > counsel before the repository is made public.** The text below follows the
5- > structure of the Apache Software Foundation Individual CLA v2.2 and is
6- > provided as a starting point, not as legal advice.
7-
83Thank you for your interest in contributing to ` src_method ` ("the Project"),
94maintained by Algorithmiq Ltd. ("Algorithmiq"). This Contributor License
105Agreement ("Agreement") documents the rights granted by contributors to
You can’t perform that action at this time.
0 commit comments