Skip to content

daily

daily #135

Workflow file for this run

name: Lint
on:
push:
paths:
- '**.py'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9 ]
steps:
- uses: actions/checkout@v3
- name: Set up poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: poetry install --no-root
# - name: Get Python changed files
# id: python-changed-files
# uses: tj-actions/changed-files@v35
# with:
# files: |
# **/*.py
- name: Lint with ruff
run: |
poetry run ./scripts/run_ruff.sh
# poetry run ./scripts/run_pylint.sh ${{ steps.python-changed-files.outputs.all_changed_and_modified_files }}
# poetry run ./scripts/run_black.sh ${{ steps.python-changed-files.outputs.all_changed_and_modified_files }}