Explorar el Código

Set up pre-commit hooks to run on push

tags/v0.4.1
Ben Kurtovic hace 5 meses
padre
commit
decad4cd9a
Se han modificado 1 ficheros con 19 adiciones y 0 borrados
  1. +19
    -0
      .github/workflows/build.yml

+ 19
- 0
.github/workflows/build.yml Ver fichero

@@ -0,0 +1,19 @@
name: Build
on: [push, pull_request]

jobs:
pre-commit:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
- uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml

- name: Install the project
run: uv sync --locked --dev

- name: Run pre-commit hooks
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd

Cargando…
Cancelar
Guardar