Skip to content

Fix to previous commit (added env) #2097

Fix to previous commit (added env)

Fix to previous commit (added env) #2097

Workflow file for this run

name: codestyle
on:
push:
branches:
- master
# - <your-branch> # put your branch name here to test it @ GH Actions
pull_request:
branches:
- master
jobs:
codestyle:
name: Check code style
runs-on: ubuntu-latest
strategy:
matrix:
pyver: [ "3.10", "3.11", "3.12" ]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyver }}
- name: Install Poetry
run: python3 .github/scripts/poetry_install.py --version 1.8.2
- name: Install dependencies
run: poetry install --no-root
- name: Check lock file
run: poetry lock --check
- name: Run formatters in check mode
run: poetry run poe checks_codestyle