mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2026-01-04 16:32:55 +00:00
Add the pre-commit check to the CI. (#18)
* Add the pre-commit check to the CI. * CI tweaks. * Add the pre-commit.
This commit is contained in:
17
.github/workflows/precommit.yml
vendored
Normal file
17
.github/workflows/precommit.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: precommit
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
run_precommit:
|
||||
name: Run precommit
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/moshi_build
|
||||
- run: |
|
||||
. env/bin/activate
|
||||
bash .git/hooks/pre-commit
|
||||
Reference in New Issue
Block a user