You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/.github/workflows/lint.yml

31 lines
693 B

name: Pre-commit
on:
pull_request:
branches: [main]
concurrency:
group: "lint"
cancel-in-progress: false
jobs:
pre-commit:
name: Pre-Commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Poetry Package
working-directory: 01OS
run: |
pip install --upgrade pip
pip install poetry==1.3.2
poetry config virtualenvs.create false
poetry install --no-interaction --with dev
- name: Run Pre-commit
run: pre-commit run --all-files