Skip to content

Update actions versions and nanobind #5575

Update actions versions and nanobind

Update actions versions and nanobind #5575

Workflow file for this run

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 .