Skip to content

ci: add pr workflow #15

ci: add pr workflow

ci: add pr workflow #15

Workflow file for this run

name: PR
on:
pull_request:
jobs:
test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
uses: ./.github/workflows/dependencies.yml
with:
command: just test
python-version: ${{ matrix.python-version }}
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit/
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: lint
run: poetry run just lint