mirror of
https://github.com/micropython/micropython.git
synced 2026-01-10 14:07:14 +01:00
The `--format` flag was changed to `--output-format` in the recent update. Pin to this version to prevent further updates from breaking (e.g. through new rules or other changes). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
11 lines
324 B
YAML
11 lines
324 B
YAML
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
|
|
name: Python code lint with ruff
|
|
on: [push, pull_request]
|
|
jobs:
|
|
ruff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: pip install --user ruff==0.1.0
|
|
- run: ruff check --output-format=github .
|