Skip to content

Merge pull request #2 from MechanicalFlower/dependabot/pip/pre-commit… #10

Merge pull request #2 from MechanicalFlower/dependabot/pip/pre-commit…

Merge pull request #2 from MechanicalFlower/dependabot/pip/pre-commit… #10

Workflow file for this run

name: Checks
on:
pull_request:
push:
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
check: ["test", "lint"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Run nox ${{ matrix.check }}
run: |
poetry install
poetry run nox -rs ${{ matrix.check }}