fix(docs.yml): removed dup steps #5
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| quality: | |
| name: Linters, type-checks, tests | |
| runs-on: ubuntu-latest | |
| env: | |
| PROJECT_FILES: event_framework tests | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| - name: Sync dev deps | |
| run: uv sync --group dev | |
| - name: flake8 | |
| run: uv run flake8 ${PROJECT_FILES} | |
| - name: black (check) | |
| run: uv run black --check ${PROJECT_FILES} | |
| - name: pylint | |
| run: uv run pylint ${PROJECT_FILES} | |
| - name: pydocstyle | |
| run: uv run pydocstyle ${PROJECT_FILES} | |
| - name: mypy | |
| run: uv run mypy ${PROJECT_FILES} | |
| - name: pytest | |
| run: uv run pytest --cov=event_framework --cov-report=xml |