Fix several issues in the documentation #1150
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: pre-commit | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths-ignore: | |
| - ".vscode/**" | |
| - ".idea/**" | |
| tags: | |
| - "*" | |
| pull_request: | |
| branches: [main, develop] | |
| paths-ignore: | |
| - ".vscode/**" | |
| - ".idea/**" | |
| permissions: {} | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| lfs: false | |
| persist-credentials: false | |
| - name: Create LFS file list | |
| run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id | |
| - name: Cache git LFS | |
| uses: actions/cache@v5 | |
| with: | |
| path: .git/lfs | |
| key: git-lfs-v1-${{ matrix.python-version }}-${{ hashFiles('.lfs-assets-id') }} | |
| restore-keys: | | |
| git-lfs-v1-${{ matrix.python-version }} | |
| git-lfs-v1 | |
| git-lfs | |
| - name: Git LFS | |
| run: | | |
| git lfs checkout | |
| git lfs pull | |
| git lfs prune --verify-remote | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - uses: pre-commit/action@v3.0.1 |