Spaces:
Configuration error
Configuration error
| name: Run checks | |
| on: | |
| workflow_call: | |
| jobs: | |
| build-package: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync --all-extras --no-extra cu124 | |
| - name: Build package | |
| run: uv build | |
| - name: Check content of wheel | |
| run: unzip -l dist/*.whl | |
| - name: Store the distribution packages | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: python-package-distributions | |
| path: dist/ | |