Skip to content

Migrate prefect dask (#20) #77

Migrate prefect dask (#20)

Migrate prefect dask (#20) #77

Workflow file for this run

name: Contribution Checks
on:
push:
branches:
- '**'
jobs:
lint:
name: Lint with Ruff
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install linters
run: |
python -m pip install --upgrade pip
pip install ruff black isort
- name: Lint
run: make lint