We were running pre-commit run --all "manually" as a step in GitHub actions. This is not desirable. Good catch by @Mortinat !
This PR uses the dedicated pre-commit/action github action instead
This will:
Run the pre-commit checks in // of the other checks (we should gain a bit of time)
Should improve the readability of the output
Speed up the time to run pre-commit as the action uses some clever caching
Edit: confirmation: 34s pour avoir le retour du job de pre-commit (et 50s en moins dans le job de tests)
We were running
pre-commit run --all
"manually" as a step in GitHub actions. This is not desirable. Good catch by @Mortinat ! This PR uses the dedicatedpre-commit/action
github action insteadThis will:
Edit: confirmation: 34s pour avoir le retour du job de pre-commit (et 50s en moins dans le job de tests)