Add validation of parsed general input #2406
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: Lint | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: "*" | |
| pull_request: | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| jobs: | |
| lint: | |
| name: Linting through pre-commit | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Python | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: '3.14' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| enable-cache: true | |
| prune-cache: false | |
| cache-dependency-glob: pyproject.toml | |
| python-version: '3.14' | |
| - name: Install semeio and dependencies | |
| run: | | |
| uv sync --frozen | |
| - name: Run pre-commit | |
| run: uv run --no-sync pre-commit run --all-files --show-diff-on-failure |