Skip to content

action

action #1

Workflow file for this run

name: lint
on:
push:
branches: [dev]
paths:
- "**.py"
- ".github/workflows/check.yaml"
- "pyproject.toml"
pull_request:
branches: [dev, main]
paths:
- "**.py"
- ".github/workflows/check.yaml"
- "pyproject.toml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rye
uses: phi-friday/[email protected]
id: install-rye
with:
python_version: "3.8"
use_uv: true
- name: Code checks
run: |
rye install pre-commit
pre-commit run --all-files --show-diff-on-failure