Skip to content

πŸ’š ci: pre-commit with github action #1

πŸ’š ci: pre-commit with github action

πŸ’š ci: pre-commit with github action #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: Lint code with pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files