Skip to content

chore: add CI and pre-commit check for formatting and linting #2

chore: add CI and pre-commit check for formatting and linting

chore: add CI and pre-commit check for formatting and linting #2

Workflow file for this run

name: Main
on:
push:
branches:
- "*"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Set up the environment
uses: ./.github/actions/setup-poetry-env
- name: Run checks
run: make check