Skip to content

ci: define python version in env #52

ci: define python version in env

ci: define python version in env #52

Workflow file for this run

name: ci
on: [push, pull_request]
env:
X_PYTHON_VERSION: 3.11
jobs:
pycodestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${X_PYTHON_VERSION}
uses: actions/setup-python@v4
with:
python-version: "${X_PYTHON_VERSION}"
- name: Install pycodestyle
run: pip install pycodestyle
- name: Check code style with PyCodestyle
run: pycodestyle --count --max-line-length 120 plugin.py