mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
14 lines
369 B
YAML
14 lines
369 B
YAML
name: Python code lint and formatting with ruff
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ruff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
# ruff version should be kept in sync with .pre-commit-config.yaml & also micropython-lib
|
|
- run: pipx install ruff==0.11.6
|
|
- run: ruff check --output-format=github .
|
|
- run: ruff format --diff .
|