Bump the actions group with 11 updates #157
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: Update README | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "README.md" | |
| - "docs/index.md" | |
| - "fastapi_code_generator/**" | |
| - "scripts/build_cli_docs.py" | |
| - "scripts/update_command_help_on_markdown.py" | |
| - "tox.ini" | |
| - "pyproject.toml" | |
| - ".github/workflows/readme.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| update-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| persist-credentials: false | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: "3.14" | |
| - name: Install tox | |
| run: uv tool install --python 3.14 tox --with tox-uv | |
| - name: Check README help snapshots | |
| run: tox run -vv --skip-missing-interpreters false -e readme | |
| env: | |
| UV_PYTHON_PREFERENCE: "only-managed" |