chore: create CODEOWNERS #2
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: Python dev | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.11"] | |
name: Building env and linting Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Poetry | |
run: pip install poetry==1.8.2 | |
- name: Install dependencies | |
run: | | |
poetry install --with linting | |
- name: Pre-commit checks | |
run: | | |
poetry run pre-commit run --all-files --show-diff-on-failure |