[docs] Use lambda function in lambda pre example #1199
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: Code Checks | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main", "dev-*"] | |
| pull_request: | |
| release: | |
| types: [published] | |
| jobs: | |
| pre-commit: | |
| name: "Run pre-commit" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - uses: pre-commit/[email protected] |