INTPYTHON-827 Prevent Value strings and model update values from being interpreted as expressions #1705
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: Linters | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' | |
| cache-dependency-path: 'pyproject.toml' | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install -U pip pre-commit | |
| - name: Run linters | |
| run: | | |
| pre-commit run --hook-stage=manual --all-files | |
| permissions: | |
| contents: read | |
| docs: | |
| name: Docs Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6 | |
| with: | |
| cache: 'pip' | |
| cache-dependency-path: 'pyproject.toml' | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| pip install -U pip | |
| pip install -e ".[docs]" | |
| - name: Build docs | |
| run: | | |
| cd docs | |
| make html | |
| permissions: | |
| contents: read |