1
0
Fork 0
mycli/.github/workflows/lint.yml
Daniel Baumann 5829a372a2
Adding upstream version 1.31.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-04 09:25:34 +02:00

29 lines
779 B
YAML

name: lint
on:
pull_request:
paths-ignore:
- '**.md'
- 'AUTHORS'
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# remember to sync the ruff-check version number with pyproject.toml
- name: Run ruff check
uses: astral-sh/ruff-action@c6bea5606c33b5d04902374392d9233464b90660 # v3.3.0
with:
version: 0.11.5
# remember to sync the ruff-check version number with pyproject.toml
- name: Run ruff format
uses: astral-sh/ruff-action@c6bea5606c33b5d04902374392d9233464b90660 # v3.3.0
with:
version: 0.11.5
args: 'format --check'