ci: run pre-commit checks first

Create a dependency between the jobs.
This commit is contained in:
Nanne Baars 2024-10-28 21:59:10 +01:00
parent 4f6ab25ebd
commit 1d37ee0877
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -32,6 +32,7 @@ jobs:
if: always()
build:
runs-on: ${{ matrix.os }}
needs: [ pre-commit ]
strategy:
fail-fast: true
matrix: