Skip to content

chore(ruff): configure ruff #12

chore(ruff): configure ruff

chore(ruff): configure ruff #12

Workflow file for this run

name: Python package CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.9", "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build dist
run: python setup.py sdist bdist_wheel
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: ruff check --output-format=github nucypher_ops