Repository navigation
feat: add structural and deep repository verification #60
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [main, "feat/**", "fix/**", "ci/**"] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Lint, test & package | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.14" | |
| enable-cache: true | |
| - name: Install | |
| run: uv sync --extra dev | |
| - name: Lint | |
| run: uv run ruff check src tests | |
| - name: Check formatting | |
| run: uv run ruff format --check src tests | |
| - name: Test | |
| run: uv run pytest | |
| - name: Build wheel | |
| run: uv build | |
| - name: Upload wheel | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: endkeep-wheel-${{ github.run_id }} | |
| path: dist/*.whl | |
| if-no-files-found: error | |
| retention-days: 14 |