Skip to content

⬆️ Update dependency ruff to ^0.7.0 (#335) #792

⬆️ Update dependency ruff to ^0.7.0 (#335)

⬆️ Update dependency ruff to ^0.7.0 (#335) #792

Workflow file for this run

name: Lint
on:
pull_request:
types: [synchronize, opened, edited]
push:
branches: [main]
jobs:
skip:
name: Skip Duplicate Actions
uses: ixm-one/common/.github/workflows/actions.skip.yml@main
actions:
name: Lint GitHub Action Workflows
uses: ixm-one/common/.github/workflows/actions.lint.yml@main
needs: skip
if: needs.skip.outputs.should-skip != 'true'
spelling:
name: Lint Spelling
uses: ixm-one/common/.github/workflows/spellcheck.yml@main
needs: skip
if: needs.skip.outputs.should-skip != 'true'
python:
name: Lint Python
runs-on: ubuntu-latest
needs: skip
if: needs.skip.outputs.should-skip != 'true'
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: '3.12'
cache: poetry
- name: Install Tools
run: poetry install --with=dev
- run: poetry run ruff format --check
- run: poetry run ruff check
- run: poetry run pyright src tests