We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8407aea commit 8059dfeCopy full SHA for 8059dfe
.github/workflows/tests-neptune-api-codegen.yml
@@ -32,12 +32,14 @@ jobs:
32
33
- name: Install pre-commit
34
run: |
35
- python -m pip install pre-commit
+ python -m pip install pre-commit &&
36
+ pre-commit install-hooks
37
38
- name: Run codegen and verify no changes
39
40
cd src &&
41
python -m neptune_api_codegen.cli --no-update-api-spec --update &&
- ( pre-commit run --all-files || true ; ) &&
42
+ ( pre-commit run --all-files >/dev/null || true ; ) &&
43
+ pre-commit run --all-files &&
44
[ -z "$(git status --porcelain)" ] &&
45
echo "✅ Repository is clean after regenerating neptune_api code"
0 commit comments