CI: Avoid cloning the submodules for the linter pipeline
This commit is contained in:
parent
a2862bb667
commit
7ee1cda15e
|
@ -1,7 +1,15 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
depth: 1
|
||||
lfs: false
|
||||
recursive: false
|
||||
|
||||
pipeline:
|
||||
Linters:
|
||||
image: beta.devheroes.codes/serene/ci:6
|
||||
commands:
|
||||
- ./builder setup
|
||||
- export FILES="$(git diff --name-only HEAD HEAD~1)"
|
||||
- pre-commit --files "$FILES"
|
||||
- pre-commit run --files "$FILES"
|
||||
|
|
Loading…
Reference in New Issue