Fix to previous commit (added env) #2097
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: 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 |