Skip to content

build(deps): update python dependencies (minor) #490

build(deps): update python dependencies (minor)

build(deps): update python dependencies (minor) #490

Workflow file for this run

name: sirtuin
on: [pull_request, merge_group, workflow_dispatch]
jobs:
workflow:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout codebase
uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/pypoetry
./.venv/
key: sirtuin-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Setup poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --sync --with dev
- name: Run `black`
run: |
make black
- name: Run `mypy`
run: |
make mypy
- name: Run `ruff`
run: |
make ruff
- name: Run `pytest`
run: |
make pytest