# SPDX-License-Identifier: MPL-2.0
name: Lint Python
on:
workflow_call:
permissions:
contents: read
jobs:
lint-python:
name: Python / Ruff
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Run Ruff
uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
args: check --output-format=github
src: "."