diff --git a/.github/matchers/setuptools.json b/.github/matchers/setuptools.json new file mode 100644 index 000000000000..2c2ca47487ed --- /dev/null +++ b/.github/matchers/setuptools.json @@ -0,0 +1,14 @@ +{ + "problemMatcher": [ + { + "owner": "setuptools", + "severity": "warning", + "pattern": [ + { + "message": 4, + "regexp": "^([^:]*):(\\d+): _Warning: (.*)$" + } + ] + } + ] +} diff --git a/.github/matchers/setuptools.json.license b/.github/matchers/setuptools.json.license new file mode 100644 index 000000000000..015248065d24 --- /dev/null +++ b/.github/matchers/setuptools.json.license @@ -0,0 +1,5 @@ +Copyright © Michal Čihař + +SPDX-License-Identifier: CC0-1.0 + +This file is maintained in https://github.com/WeblateOrg/meta/ diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 3a0cbc9b2cdb..65a68b49b527 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -108,7 +108,10 @@ jobs: with: python-version: '3.12' - name: build - run: uv build + run: | + echo "::add-matcher::.github/matchers/setuptools.json" + uv build + echo "::remove-matcher owner=setuptools::" - name: Sign the dists with Sigstore if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/weblate') uses: sigstore/gh-action-sigstore-python@v3.0.0