Run project-locked Ruff, Black and mypy.
Declare all three in the default uv dependency groups and configure them in
pyproject.toml. Ruff emits SARIF, Black checks formatting and mypy checks types.
All three execute even after one fails. A trusted Bash command replaces defaults;
emit SARIF or Checkstyle to retain annotations from custom checks.
Run setup-python first with the same working-directory.
Native reports survive command failures and are retained for seven days. See the continuous integration workflow for consolidated reporting and permissions.
- uses: hoverkraft-tech/ci-github-python/actions/lint@4b801b911424c68370a3e713bc5404151ab4d772 # main
with:
# uv project directory.
# Default: `.`
working-directory: .
# Trusted Bash command replacing the default checks. Generate SARIF or Checkstyle reports for annotations.
command: ""
# Outer calling job ID for consolidated ci-reports. Defaults to the current job ID. No individual PR comments are posted.
report-group: ""| Input | Description | Required | Default |
|---|---|---|---|
working-directory |
uv project directory. | false | . |
command |
Trusted Bash command replacing the default checks. Generate SARIF or Checkstyle reports for annotations. | false | - |
report-group |
Outer calling job ID for consolidated ci-reports. Defaults to the current job ID. No individual PR comments are posted. | false | - |
| Output | Description |
|---|---|
report-artifact-id |
Native report artifact ID. Empty when no reports were produced. |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.