Skip to content

Basic CI workflow (#3) #7

Basic CI workflow (#3)

Basic CI workflow (#3) #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Install pre-commit hooks
run: |
pre-commit install
- name: Run lint
run: |
pre-commit run --all-files