Skip to content

chore(ruff): configure ruff #14

chore(ruff): configure ruff

chore(ruff): configure ruff #14

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
<<<<<<< HEAD

Check failure on line 14 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
=======
>>>>>>> cced0c2 (Update .github/workflows/python.yml)
- 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