Skip to content

[WIP] Pruebas con pixi #61

[WIP] Pruebas con pixi

[WIP] Pruebas con pixi #61

Workflow file for this run

name: pre-commit-pr
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# required to grab the history of the PR
fetch-depth: 0
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.29.0
cache: true
environments: dev
activate-environment: true
- run: pixi add -e dev --no-lockfile-update pip
- uses: pre-commit/[email protected]
with:
# Ejecutar solo en ficheros que hayan cambiado https://github.com/pre-commit/action/issues/7
extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}