⬆️ Update dependency dataclasses-json to ^0.6.0 #356
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4 | |
with: | |
python-version: '3.10' | |
cache: poetry | |
- name: Install Tools | |
run: poetry install --with=dev | |
- run: poetry run black --check src tests | |
- run: poetry run isort --check src tests | |
- run: poetry run ruff src tests | |
- run: poetry run pyright src tests |