Skip to content

CI: update Python version #88

CI: update Python version

CI: update Python version #88

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
name: Code linting
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.21
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Update pip and install deps
run: |
python -m pip install setuptools
python -m pip install --upgrade pip
python -m pip install check-manifest
python -m pip install -r requirements-dev.txt
- name: Check MANIFEST.in in a source package
run: check-manifest -v
- name: Static code analysis and code style check
run: |
ruff check .
ruff format --check .