Skip to content

Migrate to uv/pyproject.toml #27

Migrate to uv/pyproject.toml

Migrate to uv/pyproject.toml #27

Workflow file for this run

name: pull_request
on:
pull_request:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
plugins: |
poetry-dynamic-versioning
- uses: actions/cache@v4
id: cached-poetry-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install
run: make install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- name: Build
run: make build
- name: Lint check (ruff)
run: make check-lint
- name: Type check (mypy)
run: make check-type
- name: Test
run: make test