Skip to content

project modernization #5

project modernization

project modernization #5

Workflow file for this run

name: style
on:
push: {branches: [main]} # pushes to main
pull_request: {} # all PRs
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }}
- name: Install Dependencies
run: |
pip install --upgrade -r requirements-dev.txt
pip install -e .
- name: Ruff
run: 'ruff check --output-format=github pyterrier_adaptive'