Update actions versions and nanobind #5575
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: Lint python projects | |
| on: | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.x | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Update pip | |
| run: pip install --upgrade pip | |
| - name: Install formatters and linters | |
| run: pip install ruff | |
| - name: Run ruff lint | |
| run: | | |
| ruff check . | |
| - name: Check formatting | |
| run: | | |
| ruff format --check . | |