Repository navigation
Add state checkpoints with JSON Patch diffs to BasicRuntime #3029
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: Linting | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dev dependencies | |
| run: uv sync --all-extras --all-packages | |
| - name: Run pre-commit | |
| id: pre-commit | |
| continue-on-error: true | |
| run: uv run pre-commit run -a | |
| - name: Auto-fix PR if needed | |
| uses: ./.github/actions/pr-fix-comment | |
| with: | |
| app-id: ${{ secrets.CI_BOT_APP_ID }} | |
| private-key: ${{ secrets.CI_BOT_PRIVATE_KEY }} | |
| add-paths: "." | |
| check-name: "Lint" | |
| fix-command: "uv run pre-commit run -a" | |
| - name: Fail if pre-commit failed | |
| if: steps.pre-commit.outcome == 'failure' | |
| run: exit 1 |